/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_wine.py
15 строк
473 B
Ville Skyttä
wine: do not offer completions after --help or --version
03 окт 2020, 11:38
03 окт 2020, 11:38
a7b13a3
Код
Авторство
О чём код?
import pytest class TestWine: @pytest.mark.complete("wine ", cwd="shared/default") def test_1(self, completion): assert completion == ["bar bar.d/", "foo.d/"] @pytest.mark.complete("wine notepad ", cwd="shared/default") def test_2(self, completion): assert completion == ["bar", "bar bar.d/", "foo", "foo.d/"] @pytest.mark.complete("wine --help ") def test_no_complete_after_help(self, completion): assert not completion