fix test
This commit is contained in:
parent
e14e697207
commit
6bc093df3f
|
@ -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 New Issue