blob: 65f49ea8243a1dab15e3e0bd68ae91c44669c3e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import pytest
@pytest.mark.bashcomp(skipif="! makepkg --help 2>&1 | grep -qiF slackware")
class TestMakepkg:
@pytest.mark.complete("makepkg ")
def test_1(self, completion):
assert completion
@pytest.mark.complete("makepkg --")
def test_2(self, completion):
assert all(
x in completion for x in "--chown --linkadd --prepend".split()
)
|