mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 02:23:32 -04:00
Update error messages after SQLAlchemy version update
This commit is contained in:
committed by
Rebecca Law
parent
317ae5dbd4
commit
df19a91b7f
@@ -79,7 +79,7 @@ def test_get_unknown_invited_user_returns_none(notify_db, notify_db_session, sam
|
||||
|
||||
with pytest.raises(NoResultFound) as e:
|
||||
get_invited_user_by_service_and_id(sample_service.id, unknown_id)
|
||||
assert 'No row was found for one()' in str(e.value)
|
||||
assert 'No row was found when one was required' in str(e.value)
|
||||
|
||||
|
||||
def test_get_invited_users_for_service(notify_db, notify_db_session, sample_service):
|
||||
|
||||
Reference in New Issue
Block a user