/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_secret_tool.py
12 строк
362 B
Ville Skyttä
test(secret-tool): style: use `split` to create a list for consistency
24 авг 2021, 08:12
24 авг 2021, 08:12
3a069dc
Код
Авторство
О чём код?
import pytest @pytest.mark.bashcomp(cmd="secret-tool") class TestSecretTool: @pytest.mark.complete("secret-tool ", require_cmd=True) def test_modes(self, completion): assert "store" in completion @pytest.mark.complete("secret-tool search ") def test_no_complete(self, completion): assert completion == "--all --unlock".split()