summaryrefslogtreecommitdiff
path: root/test/t/test_dcop.py
blob: 669725e28795debd4c21f9cf15efbf11045b56dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import subprocess

import pytest


class TestDcop:
    @pytest.mark.complete("dcop ")
    def test_1(self, completion):
        try:
            subprocess.check_call("dcop &>/dev/null", shell=True)
        except BaseException:
            assert not completion
        else:
            assert completion