summaryrefslogtreecommitdiff
path: root/test/t/test_xdg_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_xdg_settings.py')
-rw-r--r--test/t/test_xdg_settings.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/t/test_xdg_settings.py b/test/t/test_xdg_settings.py
new file mode 100644
index 00000000..a50df579
--- /dev/null
+++ b/test/t/test_xdg_settings.py
@@ -0,0 +1,16 @@
+import pytest
+
+
+@pytest.mark.bashcomp(cmd="xdg-settings")
+class TestXdgSettings:
+ @pytest.mark.complete("xdg-settings ")
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete("xdg-settings --")
+ def test_2(self, completion):
+ assert completion
+
+ @pytest.mark.complete("xdg-settings get ")
+ def test_3(self, completion):
+ assert completion