/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_tsig_keygen.py
12 строк
317 B
Ville Skyttä
test/tsig-keygen: require command for test_options
19 янв 2020, 20:55
19 янв 2020, 20:55
9f0ae30
Код
Авторство
О чём код?
import pytest @pytest.mark.bashcomp(cmd="tsig-keygen") class TestTsigKeygen: @pytest.mark.complete("tsig-keygen ") def test_basic(self, completion): assert not completion @pytest.mark.complete("tsig-keygen -", require_cmd=True) def test_options(self, completion): assert completion