This commit is contained in:
Son 2022-04-18 10:18:51 +02:00
parent cb8b20fc9a
commit aaccfc6f9d
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ from tests.utils import login
def test_create_random_alias_success(flask_client):
login(flask_client)
assert Alias.count() == 1
user = login(flask_client)
assert Alias.filter(Alias.user_id == user.id).count() == 1
r = flask_client.post(
url_for("dashboard.index"),