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


@pytest.mark.bashcomp(pre_cmds=("HOME=$PWD/cvs",))
class TestCvsps:
    @pytest.mark.complete("cvsps -")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("cvsps ")
    def test_2(self, completion):
        assert [x for x in completion if ":pserver:" in x]