summaryrefslogtreecommitdiff
path: root/test/t/test_synclient.py
blob: 23138294be15b2de1b229715fb52240280f12ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 ", skipif="! synclient -l &>/dev/null")
    def test_1(self, completion):
        assert completion

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