blob: e12d900fd7fc61122be20181c15d1695d39b00d9 (
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 -", require_cmd=True)
def test_2(self, completion):
assert completion
|