Skip to content

Commit

Permalink
tst: contrib malware mapping: fix argument parsing test
Browse files Browse the repository at this point in the history
the old code assumed that there were no command line arguments to the
calling program.
now set the arguments explicitly to []
  • Loading branch information
sebix committed Jan 28, 2022
1 parent 4b8ea05 commit b548930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/malware_name_mapping/test_download_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_parser_default_argument(self):

def test_parser_no_default(self):
parser = create_parser()
args = parser.parse_args()
args = parser.parse_args([])
self.assertEqual(args.add_default, None)


Expand Down

0 comments on commit b548930

Please sign in to comment.