From 7dd6cd34ff4ba547908a1aab3e1fe55c598bc289 Mon Sep 17 00:00:00 2001 From: Johan Sydseter Date: Mon, 29 Apr 2024 14:42:30 +0200 Subject: [PATCH] Update the fuzzer test --- tests/scripts/get_suit_tags_and_key_fuzzer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/get_suit_tags_and_key_fuzzer.py b/tests/scripts/get_suit_tags_and_key_fuzzer.py index 52271cad..1c495f94 100644 --- a/tests/scripts/get_suit_tags_and_key_fuzzer.py +++ b/tests/scripts/get_suit_tags_and_key_fuzzer.py @@ -12,9 +12,10 @@ def TestOneInput(data): test = unittest.TestCase() fdp = atheris.FuzzedDataProvider(data) input_key = fdp.ConsumeUnicodeNoSurrogates(1024) + edition = fdp.ConsumeUnicodeNoSurrogates(1024) want_tags: List[str] = [] want_key: str = "" - got_tags, got_key = c.get_suit_tags_and_key(input_key) + got_tags, got_key = c.get_suit_tags_and_key(input_key, edition) assert got_key == want_key test.assertEqual(want_tags, got_tags)