more tests

This commit is contained in:
Kenneth Kehl
2025-07-01 10:27:44 -07:00
parent 95b72abbc8
commit 7ef5612308
2 changed files with 1 additions and 9 deletions

View File

@@ -1077,7 +1077,7 @@ def test_get_user_login_gov_user(notify_db_session, admin_request):
)
print(hilite(users["data"]))
assert users["data"][0]["email_address"] == "findel.mestro@foo.com"
assert users["data"]["email_address"] == "findel.mestro@foo.com"
def test_find_users_by_email_handles_no_results(notify_db_session, admin_request):

View File

@@ -73,11 +73,3 @@ def test_request_raises_http_error(mock_request, mock_jwt, client):
mock_request.side_effect = mock_exception
with pytest.raises(HTTPError):
client.get("/fail")
def main():
test_request_raises_http_error()
if __name__ == "__main__":
main()