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


@pytest.mark.bashcomp(pre_cmds=("INFOPATH+=:$PWD/info:",))
class TestInfo:
    @pytest.mark.complete("info bash")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("info -")
    def test_2(self, completion):
        assert completion