mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
fix test
This commit is contained in:
parent
e14e697207
commit
6bc093df3f
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ def test_different_scenarios_v4(flask_client):
|
|||
|
||||
# <<< with hostname >>>
|
||||
r = flask_client.get(
|
||||
url_for("api.options_v3", hostname="www.test.com"),
|
||||
url_for("api.options_v4", hostname="www.test.com"),
|
||||
headers={"Authentication": api_key.code},
|
||||
)
|
||||
|
||||
|
@ -44,7 +44,7 @@ def test_different_scenarios_v4(flask_client):
|
|||
db.session.commit()
|
||||
|
||||
r = flask_client.get(
|
||||
url_for("api.options_v3", hostname="www.test.com"),
|
||||
url_for("api.options_v4", hostname="www.test.com"),
|
||||
headers={"Authentication": api_key.code},
|
||||
)
|
||||
assert r.json["recommendation"]["alias"] == alias.email
|
||||
|
|
Loading…
Reference in a new issue