Skip to content

Commit 859facb

Browse files
pre-commit-ci[bot]dopry
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 12e6b14 commit 859facb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_introspection_view.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def test_view_post_notexisting_token(self):
278278
"active": False,
279279
},
280280
)
281-
281+
282282
def test_view_post_no_token(self):
283283
"""
284284
Test that when you pass an empty token as form parameter,
@@ -287,9 +287,7 @@ def test_view_post_no_token(self):
287287
auth_headers = {
288288
"HTTP_AUTHORIZATION": "Bearer " + self.resource_server_token.token,
289289
}
290-
response = self.client.post(
291-
reverse("oauth2_provider:introspect"), **auth_headers
292-
)
290+
response = self.client.post(reverse("oauth2_provider:introspect"), **auth_headers)
293291

294292
self.assertEqual(response.status_code, 200)
295293
content = response.json()

0 commit comments

Comments
 (0)