aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cmdline.py')
-rw-r--r--test/test_cmdline.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py
index 5a9ee242..b9607029 100644
--- a/test/test_cmdline.py
+++ b/test/test_cmdline.py
@@ -137,6 +137,16 @@ def test_pathoc(perror):
)
assert len(a.requests) == 1
+ a = cmdline.args_pathod(
+ [
+ "pathod",
+ "-c",
+ "?"
+ ]
+ )
+ assert perror.called
+ perror.reset_mock()
+
tutils.raises(
SystemExit,
cmdline.args_pathoc,