Python 3 test fix

This commit is contained in:
Tom Christie 2014-12-12 13:16:18 +00:00
parent 78312d44d1
commit e3b16c8bc6

View File

@ -128,7 +128,7 @@ class TestAPITestClient(TestCase):
self.assertEqual(response.data['user'], 'example') self.assertEqual(response.data['user'], 'example')
self.client.logout() self.client.logout()
response = self.client.get('/view/') response = self.client.get('/view/')
self.assertEqual(response.data['user'], b'') self.assertEqual(response.data['user'], '')
def test_follow_redirect(self): def test_follow_redirect(self):
""" """