/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_xvfb_run.py
12 строк
343 B
Ville Skyttä
test: mark more tests that parse command output as requiring command
13 июл 2019, 11:49
13 июл 2019, 11:49
503143b
Код
Авторство
О чём код?
import pytest @pytest.mark.bashcomp(cmd="xvfb-run") class TestXvfbRun: @pytest.mark.complete("xvfb-run ") def test_no_args(self, completion): assert any(x in completion for x in ("bash", "xvfb-run")) @pytest.mark.complete("xvfb-run -", require_cmd=True) def test_options(self, completion): assert completion