mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
fix test
This commit is contained in:
parent
e14e697207
commit
6bc093df3f
@ -29,7 +29,7 @@ def test_different_scenarios_v4(flask_client):
|
|||||||
|
|
||||||
# <<< with hostname >>>
|
# <<< with hostname >>>
|
||||||
r = flask_client.get(
|
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},
|
headers={"Authentication": api_key.code},
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ def test_different_scenarios_v4(flask_client):
|
|||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
r = flask_client.get(
|
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},
|
headers={"Authentication": api_key.code},
|
||||||
)
|
)
|
||||||
assert r.json["recommendation"]["alias"] == alias.email
|
assert r.json["recommendation"]["alias"] == alias.email
|
||||||
|
Loading…
Reference in New Issue
Block a user