Skip to content

Commit 4e67803

Browse files
authored
Fixing tests on Python 2.7
1 parent 50472c9 commit 4e67803

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_compliance_fixes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def test_fetch_access_token(self):
334334
assert token["token_type"] == "Bearer"
335335

336336

337-
def access_and_refresh_token_request_compliance_fix_test(session, client_secret: str):
337+
def access_and_refresh_token_request_compliance_fix_test(session, client_secret):
338338
def _non_compliant_header(url, headers, body):
339339
headers["X-Client-Secret"] = client_secret
340340
return url, headers, body
@@ -373,7 +373,9 @@ def setUp(self):
373373
self.addCleanup(mocker.stop)
374374

375375
session = OAuth2Session()
376-
self.fixed_session = access_and_refresh_token_request_compliance_fix_test(session, self.value_to_test_for)
376+
self.fixed_session = access_and_refresh_token_request_compliance_fix_test(
377+
session, self.value_to_test_for
378+
)
377379

378380
def test_access_token(self):
379381
token = self.fixed_session.fetch_token(

0 commit comments

Comments
 (0)