summaryrefslogtreecommitdiff
path: root/test/t/test_ifdown.py
blob: 16447be5f361251a322549e2932d258009f8e975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import pytest

from conftest import in_docker


class TestIfdown:
    @pytest.mark.xfail(in_docker(), reason="Probably fails in docker")
    @pytest.mark.complete("ifdown ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("ifdown bash-completion ")
    def test_2(self, completion):
        assert not completion