mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-01 11:00:13 +03:00
invocation error
This commit is contained in:
parent
6a8ee5fe5b
commit
4da1486836
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,6 +2,8 @@
|
|||
*.db
|
||||
*~
|
||||
.*
|
||||
.tox/
|
||||
.venv/
|
||||
|
||||
/site/
|
||||
/htmlcov/
|
||||
|
|
|
@ -554,4 +554,5 @@ class IsAuthenticatedOrOptionsOnlyAllowedTests(TestCase):
|
|||
credentials = basic_auth_header('username', 'password')
|
||||
self.request = factory.get('/1', format='json', HTTP_AUTHORIZATION=credentials)
|
||||
response = options_view(self.request, pk=1)
|
||||
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||
|
Loading…
Reference in New Issue
Block a user