We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f5df86 commit c74ac4aCopy full SHA for c74ac4a
1 file changed
tests/driver/test_auth.py
@@ -183,7 +183,7 @@ async def test_oauth_callback_success(self):
183
res = await oauth_callback(code="abc")
184
assert res.status_code == status.HTTP_302_FOUND
185
assert res.headers["location"] == DOCS_URL
186
- assert "token=" in res.headers.get("set-cookie", "")
+ assert f"{AUTH_COOKIE_NAME}=" in res.headers.get("set-cookie", "")
187
188
189
# =========================================================
0 commit comments