diff options
Diffstat (limited to 'test/t/test_ifup.py')
-rw-r--r-- | test/t/test_ifup.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/t/test_ifup.py b/test/t/test_ifup.py index 62d8eb4a..843190e4 100644 --- a/test/t/test_ifup.py +++ b/test/t/test_ifup.py @@ -1,15 +1,17 @@ import pytest -from conftest import in_docker +from conftest import in_container class TestIfup: - @pytest.mark.xfail(in_docker(), reason="Probably fails in docker") + @pytest.mark.xfail(in_container(), reason="Probably fails in a container") @pytest.mark.complete("ifup ") def test_1(self, completion): assert completion - @pytest.mark.complete("ifup --", skipif="! ifup --help &>/dev/null") + @pytest.mark.complete( + "ifup -", require_cmd=True, skipif="! ifup --help &>/dev/null" + ) def test_2(self, completion): assert completion |