mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 07:46:06 -04:00
add another test
This commit is contained in:
@@ -296,7 +296,11 @@ 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))
|
json_resp = json.loads(response.get_data(as_text=True))
|
||||||
assert response.status_code == 404
|
assert response.status_code == 404
|
||||||
assert json_resp["result"] == "error"
|
assert json_resp["result"] == "error"
|
||||||
assert json_resp["message"] == "No result found"
|
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."
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@given(
|
@given(
|
||||||
|
|||||||
Reference in New Issue
Block a user