/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_mypy.py
15 строк
371 B
Ville Skyttä
style(test): remove redundant require_cmd with require_longopt
31 июл 2021, 10:54
31 июл 2021, 10:54
074ff4c
Код
Авторство
О чём код?
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