1
0
mirror of synced 2026-01-06 06:04:16 -05:00

Format code (#6381)

This commit is contained in:
LiRen Tu
2021-09-22 09:30:14 -07:00
committed by GitHub
parent c86403fa7b
commit 548a3a3063
6 changed files with 21 additions and 25 deletions

View File

@@ -130,8 +130,9 @@ class TestOauth2Authenticator:
assert body == expected
def test_refresh_access_token(self, requests_mock):
mock_refresh_token_call = requests_mock.post(TestOauth2Authenticator.refresh_endpoint,
json={"access_token": "token", "expires_in": 10})
mock_refresh_token_call = requests_mock.post(
TestOauth2Authenticator.refresh_endpoint, json={"access_token": "token", "expires_in": 10}
)
oauth = Oauth2Authenticator(
TestOauth2Authenticator.refresh_endpoint,