summaryrefslogtreecommitdiff
path: root/test/t/test_dpkg.py
blob: e609ee862148ae7c9cf2c559ae195297cf58daea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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