mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 11:00:13 +03:00
flake8 fix
This commit is contained in:
parent
60e48143c2
commit
27bcc39da3
|
@ -574,6 +574,7 @@ class IsAuthenticatedOrOptionsOnlyAllowedTests(TestCase):
|
|||
response = options_view(self.request, pk=1)
|
||||
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||
|
||||
|
||||
class FakeUser:
|
||||
def __init__(self, auth=False):
|
||||
self.is_authenticated = auth
|
||||
|
|
Loading…
Reference in New Issue
Block a user