From 0f48121fd55a4e2aa1b1757a6b245dd6e30c87fd Mon Sep 17 00:00:00 2001 From: Renaud Boyer Date: Sun, 6 Dec 2020 17:46:10 +0100 Subject: [PATCH] linting --- tests/dashboard/test_custom_alias.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dashboard/test_custom_alias.py b/tests/dashboard/test_custom_alias.py index ad092e50..8a24296b 100644 --- a/tests/dashboard/test_custom_alias.py +++ b/tests/dashboard/test_custom_alias.py @@ -208,7 +208,7 @@ def test_add_alias_in_custom_domain_trash(flask_client): # delete a custom-domain alias: alias should go the DomainDeletedAlias alias = Alias.create( user_id=user.id, - email=f"prefix@ab.cd", + email="prefix@ab.cd", custom_domain_id=custom_domain.id, mailbox_id=user.default_mailbox_id, commit=True, @@ -219,7 +219,7 @@ def test_add_alias_in_custom_domain_trash(flask_client): assert DomainDeletedAlias.query.count() == 1 # create the same alias, should return error - suffix = f"@ab.cd" + suffix = "@ab.cd" signed_suffix = signer.sign(suffix).decode() r = flask_client.post( url_for("dashboard.custom_alias"),