summaryrefslogtreecommitdiff
path: root/test/t/test_xrandr.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_xrandr.py')
-rw-r--r--test/t/test_xrandr.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/t/test_xrandr.py b/test/t/test_xrandr.py
index e4e0d6b7..e7669224 100644
--- a/test/t/test_xrandr.py
+++ b/test/t/test_xrandr.py
@@ -2,10 +2,14 @@ import pytest
class TestXrandr:
- @pytest.mark.complete("xrandr ")
+ @pytest.mark.complete("xrandr ", require_cmd=True)
def test_1(self, completion):
assert completion
@pytest.mark.complete("xrandr --mode ")
def test_2(self, completion):
assert not completion
+
+ @pytest.mark.complete("xrandr -", require_cmd=True)
+ def test_3(self, completion):
+ assert completion