Update auth tests

This commit is contained in:
Santiago Lo Coco 2023-11-12 12:32:32 -03:00
parent 7f057dbbaf
commit 97b99fcd64
1 changed files with 1 additions and 2 deletions

View File

@ -174,8 +174,7 @@ def test_user_status(test_app, test_database, add_user):
data = json.loads(resp.data.decode()) data = json.loads(resp.data.decode())
assert resp.status_code == 200 assert resp.status_code == 200
assert resp.content_type == "application/json" assert resp.content_type == "application/json"
assert "test6" in data["username"] assert not data["airline"]
assert "test6@test.com" in data["email"]
assert "password" not in data assert "password" not in data