blob: 11628c1dc8abcdab650bed74cf0e00b93bcacccc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import pytest
class TestMypy:
@pytest.mark.complete("mypy ")
def test_1(self, completion):
assert completion
@pytest.mark.complete("mypy --", require_cmd=True, require_longopt=True)
def test_2(self, completion):
assert completion
@pytest.mark.complete("mypy --non-existent-option=--")
def test_3(self, completion):
assert not completion
|