Skip to content
Snippets Groups Projects
Commit afddb52b authored by ulif's avatar ulif
Browse files

Do not use prog-name in main() calls.

parent 52258808
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ class TestDicewareModule(object):
def test_main_help(self, capsys):
# we can get help
with pytest.raises(SystemExit) as exc_info:
main(['diceware', '--help'])
main(['--help'])
assert exc_info.value.code == 0
out, err = capsys.readouterr()
out = out.replace(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment