fix authn fuzz testing
This commit is contained in:
parent
d67eee9121
commit
3359fe1b1a
|
@ -32,7 +32,7 @@ def test_auth_random_input():
|
||||||
def auth(fuzzed_input):
|
def auth(fuzzed_input):
|
||||||
with boddle(auth=(fuzzed_input, fuzzed_input)):
|
with boddle(auth=(fuzzed_input, fuzzed_input)):
|
||||||
response = ondemand.build()
|
response = ondemand.build()
|
||||||
assert response.status_code == 403
|
assert response.status_code == 401
|
||||||
|
|
||||||
atheris.Setup([sys.argv[0], "-atheris_runs=100000"], auth)
|
atheris.Setup([sys.argv[0], "-atheris_runs=100000"], auth)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user