summaryrefslogtreecommitdiffstats
path: root/test/t/test_lspci.py
blob: aba7b5a49259cd3d685f93c426000f065ac41058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pytest


class TestLspci:
    @pytest.mark.complete("lspci -", require_cmd=True)
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete(
        "lspci -A ", require_cmd=True, skipif="! lspci -A help &>/dev/null"
    )
    def test_2(self, completion):
        assert completion