summaryrefslogtreecommitdiff
path: root/test/t/test_xgamma.py
blob: 151e2d36dac25ab2467a87943f2d3a7ddbccd06e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import pytest


class TestXgamma:
    @pytest.mark.complete("xgamma -", require_cmd=True)
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("xgamma -gam", require_cmd=True)
    def test_2(self, completion):
        assert completion == "ma"
        assert completion.endswith(" ")