Skip to content

Commit ac46b13

Browse files
authored
fix: fix test 'success' keyerror
1 parent 81d21a6 commit ac46b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _cleanup_binaries(fpath: str) -> None:
6565
json_data={"sha_256_hash": bin_id}
6666
).json()
6767

68-
if not response["success"]:
68+
if not response.get("success", False):
6969
testlog.error("Failed to get all previous analysis.\n%s", response)
7070
else:
7171
for binary in response["query_results"]:

0 commit comments

Comments
 (0)