From a0c199732f86b964bd80e3f14bcf60ca8f4b8546 Mon Sep 17 00:00:00 2001 From: Son NK Date: Fri, 6 Dec 2019 10:38:35 +0100 Subject: [PATCH] fix test --- tests/api/test_alias_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api/test_alias_options.py b/tests/api/test_alias_options.py index 13aafa6d..e3956250 100644 --- a/tests/api/test_alias_options.py +++ b/tests/api/test_alias_options.py @@ -39,7 +39,7 @@ def test_different_scenarios(flask_client): headers={"Authentication": api_key.code}, ) - assert r.json["custom"]["suggestion"] == "www_test_com" + assert r.json["custom"]["suggestion"] == "test" # <<< with recommendation >>> alias = GenEmail.create_new_gen_email(user.id)