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


class TestKcov:
    @pytest.mark.complete("kcov ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("kcov --exclude-patter", require_cmd=True)
    def test_2(self, completion):
        assert completion == "n="
        assert completion.endswith("=")

    @pytest.mark.complete("kcov -l 42,")
    def test_3(self, completion):
        assert completion