Skip to content

Commit 8759088

Browse files
committed
fix hack
1 parent 2874b59 commit 8759088

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

run/idp-sql/test/e2e_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,17 +192,17 @@ def jwt_token() -> str:
192192
.stdout.strip()
193193
.decode()
194194
)
195-
print(auth_token)
195+
196196
custom_token = auth.create_custom_token("a-user-id").decode("UTF-8")
197-
print(custom_token)
198-
# adapter = HTTPAdapter(max_retries=retry_strategy)
197+
198+
adapter = HTTPAdapter(max_retries=retry_strategy)
199199

200200
client = requests.session()
201-
# client.mount("https://", adapter)
201+
client.mount("https://", adapter)
202202

203203
resp = client.post(
204204
f"https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key={IDP_KEY}",
205-
data=json.dumps({"token": auth_token, "returnSecureToken": True}),
205+
data=json.dumps({"token": custom_token, "returnSecureToken": True}),
206206
)
207207
response = resp.json()
208208
assert "error" not in response.keys()

0 commit comments

Comments
 (0)