diff options
Diffstat (limited to 'test/t/test_dpkg.py')
-rw-r--r-- | test/t/test_dpkg.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/t/test_dpkg.py b/test/t/test_dpkg.py new file mode 100644 index 00000000..e609ee86 --- /dev/null +++ b/test/t/test_dpkg.py @@ -0,0 +1,17 @@ +import pytest + + +class TestDpkg: + @pytest.mark.complete("dpkg --c") + def test_1(self, completion): + assert completion + + @pytest.mark.complete( + "dpkg -L ", skipif='test -z "$(dpkg -l 2>/dev/null)"' + ) + def test_2(self, completion): + assert completion + + @pytest.mark.complete("dpkg -i ~") + def test_3(self, completion): + assert completion |