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


@pytest.mark.bashcomp(cmd="mii-diag")
class TestMiiDiag:
    @pytest.mark.complete("mii-diag ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("mii-diag -", require_cmd=True)
    def test_2(self, completion):
        assert completion