From 3359fe1b1a38d1fd6ea3d340a0a4c252a1bae7b8 Mon Sep 17 00:00:00 2001 From: evilchili Date: Sun, 20 Nov 2022 01:07:38 -0800 Subject: [PATCH] fix authn fuzz testing --- test/test_ondemand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ondemand.py b/test/test_ondemand.py index 87ff493..2a5c62a 100644 --- a/test/test_ondemand.py +++ b/test/test_ondemand.py @@ -32,7 +32,7 @@ def test_auth_random_input(): def auth(fuzzed_input): with boddle(auth=(fuzzed_input, fuzzed_input)): response = ondemand.build() - assert response.status_code == 403 + assert response.status_code == 401 atheris.Setup([sys.argv[0], "-atheris_runs=100000"], auth) try: