From 6bc093df3fea835b00641cd53584febbdd58ee35 Mon Sep 17 00:00:00 2001 From: Son Date: Thu, 17 Jun 2021 23:54:14 +0200 Subject: [PATCH] fix test --- tests/api/test_alias_options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api/test_alias_options.py b/tests/api/test_alias_options.py index 51642673..75703f9a 100644 --- a/tests/api/test_alias_options.py +++ b/tests/api/test_alias_options.py @@ -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