Skip to content

Commit

Permalink
test: Skip ifup options test if it doesn't grok --help, not in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jan 4, 2019
1 parent a6916d6 commit 3780c80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/t/test_ifup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ class TestIfup:
def test_1(self, completion):
assert completion.list

@pytest.mark.xfail(bool(os.environ.get("CI")),
reason="Probably fails in CI")
@pytest.mark.complete("ifup --")
@pytest.mark.complete("ifup --", skipif="! ifup --help &>/dev/null")
def test_2(self, completion):
assert completion.list

Expand Down

0 comments on commit 3780c80

Please sign in to comment.