This commit is contained in:
Son 2021-06-17 23:54:14 +02:00
parent e14e697207
commit 6bc093df3f
1 changed files with 2 additions and 2 deletions

View File

@ -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