blob: 9d5f16b19d4ced01cc63c4a7fedcf338589c71ee (
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_longopt=True)
def test_2(self, completion):
assert completion
@pytest.mark.complete("mypy --non-existent-option=--")
def test_3(self, completion):
assert not completion
|