summaryrefslogtreecommitdiff
path: root/test/t/test_dcop.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_dcop.py')
-rw-r--r--test/t/test_dcop.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/test/t/test_dcop.py b/test/t/test_dcop.py
index 669725e2..5c3c04d0 100644
--- a/test/t/test_dcop.py
+++ b/test/t/test_dcop.py
@@ -1,14 +1,7 @@
-import subprocess
-
import pytest
class TestDcop:
- @pytest.mark.complete("dcop ")
+ @pytest.mark.complete("dcop ", require_cmd=True)
def test_1(self, completion):
- try:
- subprocess.check_call("dcop &>/dev/null", shell=True)
- except BaseException:
- assert not completion
- else:
- assert completion
+ assert completion