/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_chroot.py
16 строк
480 B
Ville Skyttä
test: add require_longopt xfail helper, use it
13 июл 2019, 19:21
13 июл 2019, 19:21
6d79948
Код
Авторство
О чём код?
import pytest class TestChroot: @pytest.mark.complete("chroot ") def test_1(self, completion): assert completion @pytest.mark.complete("/bin/chroot shared/default/") def test_2(self, completion): """Should complete dirs only, also when invoked using full path.""" assert completion == ["bar bar.d/", "foo.d/"] @pytest.mark.complete("chroot -", require_longopt=True) def test_options(self, completion): assert completion