fix tests

This commit is contained in:
Kenneth Kehl
2024-03-19 11:32:36 -07:00
parent 57fa8dad5d
commit 197ef11075
6 changed files with 24 additions and 21 deletions
-1
View File
@@ -61,7 +61,6 @@ def _get_access_token(code, state):
url = f"{base_url}{cli_assert}&{cli_assert_type}&{code_param}&grant_type=authorization_code"
headers = {"Authorization": "Bearer %s" % token}
response = requests.post(url, headers=headers)
print(f"RESPONSE FROM LOGIN DOT GOV {response.json()}")
access_token = response.json()["access_token"]
return access_token