summaryrefslogtreecommitdiffstats
path: root/test/t/test_synclient.py
blob: 8ce66f64094cd228bd7088d8299b42cc4c84b846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import pytest


class TestSynclient:
    # synclient -l may error out with e.g.
    # "Couldn't find synaptics properties. No synaptics driver loaded?"
    @pytest.mark.complete(
        "synclient ", require_cmd=True, xfail="! synclient -l &>/dev/null"
    )
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("synclient -", require_cmd=True)
    def test_2(self, completion):
        assert completion