mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-23 19:01:24 -04:00
add another test
This commit is contained in:
@@ -296,11 +296,7 @@ def test_should_be_error_if_service_does_not_exist_on_update(client, fake_uuid):
|
||||
json_resp = json.loads(response.get_data(as_text=True))
|
||||
assert response.status_code == 404
|
||||
assert json_resp["result"] == "error"
|
||||
assert (
|
||||
json_resp["message"]
|
||||
== "The requested URL was not found on the server. \
|
||||
If you entered the URL manually please check your spelling and try again."
|
||||
)
|
||||
assert json_resp["message"] == "No result found"
|
||||
|
||||
|
||||
@given(
|
||||
@@ -330,7 +326,7 @@ def test_fuzz_should_be_error_if_service_does_not_exist_on_update(
|
||||
assert (
|
||||
json_resp["message"]
|
||||
== "The requested URL was not found on the server. \
|
||||
If you entered the URL manually please check your spelling and try again."
|
||||
If you entered the URL manually please check your spelling and try again."
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user