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


@pytest.mark.bashcomp(pre_cmds=("INFOPATH+=:$PWD/info:",))
class TestPinfo:
    @pytest.mark.complete("pinfo -", require_cmd=True)
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("pinfo bash")
    def test_2(self, completion):
        assert completion