/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_cvsps.py
15 строк
377 B
Ville Skyttä
refactor: mark deprecated config variables clearer
05 янв 2024, 18:39
05 янв 2024, 18:39
2b7fc19
Код
Авторство
О чём код?
import pytest @pytest.mark.bashcomp( pre_cmds=("HOME=$PWD/cvs",), ignore_env=r"^[+-]COMP_CVS_REMOTE=", ) class TestCvsps: @pytest.mark.complete("cvsps -", require_cmd=True) def test_1(self, completion): assert completion @pytest.mark.complete("cvsps ") def test_2(self, completion): assert [x for x in completion if ":pserver:" in x]