Skip to content

Commit

Permalink
fix test usage of defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed Sep 20, 2024
1 parent 5074e9c commit 617116d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def plugin_load_parser_correctly(plugin):
"""A helper function to test that the plugins at least
register an option for their own name."""
parser = argparse.ArgumentParser(description='test_parser')
plugin.register_arguments(parser)
plugin.register_arguments(parser, {})
argument_name = name_to_argument(plugin.get_name())
for action in parser._actions:
option_strings = getattr(action, 'option_strings', [])
Expand Down

0 comments on commit 617116d

Please sign in to comment.