Skip to content

Commit 5321c47

Browse files
committed
tst: contrib malware mapping: fix argument parsing test
the old code assumed that there were no command line arguments to the calling program. now set the arguments explicitly to []
1 parent b836736 commit 5321c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/malware_name_mapping/test_download_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def test_parser_default_argument(self):
8989

9090
def test_parser_no_default(self):
9191
parser = create_parser()
92-
args = parser.parse_args()
92+
args = parser.parse_args([])
9393
self.assertEqual(args.add_default, None)
9494

9595

0 commit comments

Comments
 (0)