1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[py3] Various minor syntax fixes in the test suite

This commit is contained in:
Claude Paroz
2012-08-11 22:29:18 +02:00
parent 7d0f883192
commit 6602103338
8 changed files with 24 additions and 23 deletions

View File

@@ -480,7 +480,7 @@ class DayArchiveViewTests(TestCase):
def test_next_prev_context(self):
res = self.client.get('/dates/books/2008/oct/01/')
self.assertEqual(res.content, "Archive for Oct. 1, 2008. Previous day is May 1, 2006")
self.assertEqual(res.content, b"Archive for Oct. 1, 2008. Previous day is May 1, 2006")
def test_custom_month_format(self):
res = self.client.get('/dates/books/2008/10/01/')