blob: df5f4da0503e904f5cc4c8d282314171cce66fed (
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 -")
def test_1(self, completion):
assert completion
@pytest.mark.complete("slapt-src --bu")
def test_2(self, completion):
assert completion == "--build"
@pytest.mark.complete("slapt-src --ins")
def test_3(self, completion):
assert completion == "--install"
|