/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_mysql.py
15 строк
377 B
Ville Skyttä
mypy, mysql, xmms: don't complete unknown split long option args
22 апр 2019, 14:53
22 апр 2019, 14:53
1a698d5
Код
Авторство
О чём код?
import pytest class TestMysql: @pytest.mark.complete("mysql --") def test_1(self, completion): assert completion @pytest.mark.complete("mysql --default-character-set=") def test_2(self, completion): assert completion @pytest.mark.complete("mysql --non-existent-option=--") def test_3(self, completion): assert not completion