summaryrefslogtreecommitdiff
path: root/test/t/test_kcov.py
blob: 3c7d3dfaed7dc1bc9aed8454a56a0b625be68306 (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 == "--exclude-pattern="
        assert completion.endswith("=")

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