blob: e18ea1ce584dee4b2353a26c0dbeeebe75dfd72f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import pytest
class TestWine:
@pytest.mark.complete("wine ", cwd="shared/default")
def test_1(self, completion):
assert completion == ["bar bar.d/", "foo.d/"]
@pytest.mark.complete("wine notepad ", cwd="shared/default")
def test_2(self, completion):
assert completion == ["bar", "bar bar.d/", "foo", "foo.d/"]
@pytest.mark.complete("wine --help ")
def test_no_complete_after_help(self, completion):
assert not completion
|