summaryrefslogtreecommitdiff
path: root/tests/component/rpm/test_rpm_ch.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/component/rpm/test_rpm_ch.py')
-rw-r--r--tests/component/rpm/test_rpm_ch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/component/rpm/test_rpm_ch.py b/tests/component/rpm/test_rpm_ch.py
index db03c845..4b3354b7 100644
--- a/tests/component/rpm/test_rpm_ch.py
+++ b/tests/component/rpm/test_rpm_ch.py
@@ -56,8 +56,12 @@ class TestRpmCh(RpmRepoTestBase):
"""See that git-rpm-ch fails gracefully when called with invalid args"""
GitRepository.create('.')
+ assert_raises(SystemExit, mock_ch, ['--invalid-opt'])
+
+ """
with assert_raises(SystemExit):
mock_ch(['--invalid-opt'])
+ """
def test_import_outside_repo(self):
"""Run git-rpm-ch when not in a git repository"""