mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-11 20:59:39 -04:00
more tests
This commit is contained in:
@@ -331,7 +331,7 @@
|
||||
"filename": "tests/app/user/test_rest.py",
|
||||
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
|
||||
"is_verified": false,
|
||||
"line_number": 110,
|
||||
"line_number": 111,
|
||||
"is_secret": false
|
||||
},
|
||||
{
|
||||
@@ -339,7 +339,7 @@
|
||||
"filename": "tests/app/user/test_rest.py",
|
||||
"hashed_secret": "0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33",
|
||||
"is_verified": false,
|
||||
"line_number": 874,
|
||||
"line_number": 875,
|
||||
"is_secret": false
|
||||
}
|
||||
],
|
||||
@@ -374,5 +374,5 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"generated_at": "2025-07-01T15:15:11Z"
|
||||
"generated_at": "2025-07-01T16:40:56Z"
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ from app import db
|
||||
from app.dao.service_user_dao import dao_get_service_user, dao_update_service_user
|
||||
from app.enums import AuthType, KeyType, NotificationType, PermissionType
|
||||
from app.models import Notification, Permission, User
|
||||
from app.utils import hilite
|
||||
from tests.app.db import (
|
||||
create_organization,
|
||||
create_service,
|
||||
@@ -1062,7 +1063,7 @@ def test_find_users_by_email_finds_user_by_full_email(notify_db_session, admin_r
|
||||
_data=data,
|
||||
)
|
||||
|
||||
assert len(users["data"]) == 1
|
||||
print(hilite(users["data"]))
|
||||
assert users["data"][0]["email_address"] == "findel.mestro@foo.com"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user