mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-26 08:00:07 +03:00
Fix linting error
This commit is contained in:
parent
f43cd30349
commit
6149e9d949
|
@ -115,7 +115,7 @@ class TestAPITestClient(TestCase):
|
|||
"""
|
||||
user = User.objects.create_user('example', 'example@example.com')
|
||||
token = Token.objects.create(key='xyz', user=user)
|
||||
|
||||
|
||||
self.client.force_authenticate(user=user, token=token)
|
||||
response = self.client.get('/view/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user