1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +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

@@ -69,7 +69,7 @@ class ViewTest(unittest.TestCase):
def _assert_simple(self, response):
self.assertEqual(response.status_code, 200)
self.assertEqual(response.content, 'This is a simple view')
self.assertEqual(response.content, b'This is a simple view')
def test_no_init_kwargs(self):
"""