diff options
Diffstat (limited to 'test/t/test_rpm.py')
-rw-r--r-- | test/t/test_rpm.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/t/test_rpm.py b/test/t/test_rpm.py new file mode 100644 index 0000000..e6f7198 --- /dev/null +++ b/test/t/test_rpm.py @@ -0,0 +1,15 @@ +import pytest + + +class TestRpm: + @pytest.mark.complete("rpm ") + def test_1(self, completion): + assert completion + + @pytest.mark.complete("rpm -q ", skipif='test -z "$(rpm -qa 2>/dev/null)"') + def test_2(self, completion): + assert completion + + @pytest.mark.complete("rpm -", require_cmd=True) + def test_3(self, completion): + assert completion |