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

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