Skip to content

Commit 8729f53

Browse files
committed
test(dcop): skip if basic invocation errors out
It's highly unlikely that a DCOP server would be running in containers.
1 parent 31fb78b commit 8729f53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/t/test_dcop.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33

44
class TestDcop:
5-
@pytest.mark.complete("dcop ", require_cmd=True)
5+
@pytest.mark.complete(
6+
"dcop ", require_cmd=True, skipif="! dcop &>/dev/null"
7+
)
68
def test_1(self, completion):
79
assert completion

0 commit comments

Comments
 (0)