๐Ÿ“ฆ scop / bash-completion

๐Ÿ“„ test_xev.py ยท 12 lines
1
2
3
4
5
6
7
8
9
10
11
12import pytest


class TestXev:
    @pytest.mark.complete("xev ")
    def test_basic(self, completion):
        assert not completion

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