summaryrefslogtreecommitdiff
path: root/test/t/test_ifstat.py
blob: e4d828eeffb5e6feaefdca6c32d51118167ba29b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import pytest


class TestIfstat:
    @pytest.mark.complete("ifstat -")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete(
        "ifstat -i ", skipif="ifstat -v | command grep -qF iproute2"
    )
    def test_2(self, completion):
        assert completion

    @pytest.mark.complete(
        "ifstat -d ", skipif="ifstat -v | command grep -qF iproute2"
    )
    def test_3(self, completion):
        assert completion