Skip to content

Commit

Permalink
test: fix an out-of-date test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdevpl committed Aug 15, 2023
1 parent 19aece0 commit e2a5341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_copyright_notice(self):

def test_version_option(self):
parser = argparse.ArgumentParser('boilerplates_cli_test')
boilerplates.cli.add_version_option(parser)
boilerplates.cli.add_version_option(parser, '1.0.0')
with pathlib.Path(os.devnull).open('w', encoding='utf-8') as devnull:
with contextlib.redirect_stderr(devnull):
with self.assertRaises(SystemExit):
Expand Down

0 comments on commit e2a5341

Please sign in to comment.