summaryrefslogtreecommitdiff
path: root/test/t/test_mypy.py
blob: cecea92dd52b046e6fe94b24626770743fa4382b (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 --")
    def test_2(self, completion):
        assert completion

    @pytest.mark.complete("mypy --non-existent-option=--")
    def test_3(self, completion):
        assert not completion