Skip to content
Snippets Groups Projects
Commit 60d7a058 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Test --help and --usage.

parent 85ef2872
No related branches found
No related tags found
No related merge requests found
......@@ -173,3 +173,17 @@ def test_non_unicode_filename(capsys, tmpdir):
assert ret == 0
assert out == err == ""
def test_help(capsys):
ret, out, err = run(capsys, "--help")
assert err == ""
assert "options:" in out
def test_usage(capsys):
ret, out, err = run(capsys, "--usage")
assert out == ""
assert "usage:" in err
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