/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_makepkg.py
17 строк
483 B
Ville Skyttä
refactor([m-o]*): apply naming guidelines where API is as desired
25 апр 2023, 22:01
25 апр 2023, 22:01
981f94d
Код
Авторство
О чём код?
import pytest @pytest.mark.bashcomp( ignore_env=r"^-declare -f _comp_cmd_makepkg__bootstrap$", xfail="! makepkg --help 2>&1 | command grep -qiF slackware", ) class TestMakepkg: @pytest.mark.complete("makepkg ") def test_1(self, completion): assert completion @pytest.mark.complete("makepkg --", require_cmd=True) def test_2(self, completion): assert all( x in completion for x in "--chown --linkadd --prepend".split() )