blob: dd443b041fb1adfcd7d1253b9843d0d71dd35168 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import pytest
@pytest.mark.bashcomp(cmd="slapt-src")
class TestSlaptSrc:
@pytest.mark.complete("slapt-src -", require_cmd=True)
def test_1(self, completion):
assert completion
@pytest.mark.complete("slapt-src --bu", require_cmd=True)
def test_2(self, completion):
assert completion == "--build"
@pytest.mark.complete("slapt-src --ins", require_cmd=True)
def test_3(self, completion):
assert completion == "--install"
|