mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Python 3 test fix
This commit is contained in:
parent
78312d44d1
commit
e3b16c8bc6
|
@ -128,7 +128,7 @@ class TestAPITestClient(TestCase):
|
|||
self.assertEqual(response.data['user'], 'example')
|
||||
self.client.logout()
|
||||
response = self.client.get('/view/')
|
||||
self.assertEqual(response.data['user'], b'')
|
||||
self.assertEqual(response.data['user'], '')
|
||||
|
||||
def test_follow_redirect(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user