summaryrefslogtreecommitdiff
path: root/tests/component/rpm/test_pq_rpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/component/rpm/test_pq_rpm.py')
-rw-r--r--tests/component/rpm/test_pq_rpm.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/component/rpm/test_pq_rpm.py b/tests/component/rpm/test_pq_rpm.py
index 293244be..c14ea681 100644
--- a/tests/component/rpm/test_pq_rpm.py
+++ b/tests/component/rpm/test_pq_rpm.py
@@ -52,8 +52,12 @@ class TestPqRpm(RpmRepoTestBase):
self._clear_log()
# Test invalid cmdline options
+ assert_raises(SystemExit, mock_pq, ['--invalid-arg=123'])
+
+ """
with assert_raises(SystemExit):
mock_pq(['--invalid-arg=123'])
+ """
def test_import_outside_repo(self):
"""Run pq-rpm when not in a git repository"""