mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 11:30:12 +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/
|
||||
|
|
|
@ -555,3 +555,4 @@ class IsAuthenticatedOrOptionsOnlyAllowedTests(TestCase):
|
|||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user