/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_rmdir.py
16 строк
476 B
Ville Skyttä
test: xfail non-longopt csplit, date, ld, pr, and rmdir
20 апр 2021, 22:21
20 апр 2021, 22:21
e38167a
Код
Авторство
О чём код?
import pytest class TestRmdir: @pytest.mark.complete("rmdir ") def test_1(self, completion): assert completion @pytest.mark.complete("/bin/rmdir 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("rmdir -", require_longopt=True) def test_options(self, completion): assert completion