File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ def TestOneInput(data: bytes) -> None:
4141 try :
4242 client .contactslist_csvdata .create (id = list_id , data = fuzzed_csv_data )
4343 except (ValueError , TypeError ):
44+ # Expected for malformed fuzz inputs; ignore and continue fuzzing.
4445 pass
4546
4647 # 2. Fuzz the Import Job Creation Payload
@@ -54,6 +55,7 @@ def TestOneInput(data: bytes) -> None:
5455 try :
5556 client .csvimport .create (data = import_data )
5657 except (ValueError , TypeError ):
58+ # Expected for malformed fuzz inputs; ignore and continue fuzzing.
5759 pass
5860
5961if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -66,14 +66,16 @@ def TestOneInput(data: bytes) -> None:
6666 try :
6767 client_v3 .send .create (data = payload_v3 )
6868 success_v3 = True
69- except EXPECTED_REJECTIONS :
70- pass
69+ except EXPECTED_REJECTIONS as _exc :
70+ # Expected fuzzing-time validation rejection: keep success_v3 as False.
71+ _ = _exc
7172
7273 try :
7374 client_v31 .send .create (data = payload_v31 )
7475 success_v31 = True
75- except EXPECTED_REJECTIONS :
76- pass
76+ except EXPECTED_REJECTIONS as _exc :
77+ # Expected fuzzing-time validation rejection: keep success_v31 as False.
78+ _ = _exc
7779
7880 # 3. Differential Assertion
7981 if success_v3 != success_v31 :
You can’t perform that action at this time.
0 commit comments