summaryrefslogtreecommitdiffstats
path: root/test/t/test_xdg_settings.py
blob: 1a194592154cd9a3a330dd99852b81fc57aba7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 --", require_cmd=True)
    def test_2(self, completion):
        assert completion

    @pytest.mark.complete("xdg-settings get ", require_cmd=True)
    def test_3(self, completion):
        assert completion