mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-18 16:19:36 -04:00
fuzz 405
This commit is contained in:
@@ -99,11 +99,13 @@ def test_fuzz_cancel_job(fuzzed_job_id, fuzzed_service_id, request):
|
||||
|
||||
status = response.status_code
|
||||
# 400 Bad Request, 403 Forbidden, 404 Not Found
|
||||
# 405 Method Not Allowed (if ids are not ascii)
|
||||
assert status in (
|
||||
200,
|
||||
400,
|
||||
403,
|
||||
404,
|
||||
405,
|
||||
), f"Unexpected status: {status} for path: {path}"
|
||||
# This will only happen once every trillion years
|
||||
if status == 200:
|
||||
|
||||
Reference in New Issue
Block a user