/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_dpkg_deb.py
12 строк
353 B
Ville Skyttä
test: simplify completion parsing
04 июн 2020, 23:58
04 июн 2020, 23:58
726e4c0
Код
Авторство
О чём код?
import pytest @pytest.mark.bashcomp(cmd="dpkg-deb") class TestDpkgDeb: @pytest.mark.complete("dpkg-deb --c", require_cmd=True) def test_1(self, completion): assert completion @pytest.mark.complete("dpkg-deb --show b", cwd="dpkg") def test_show(self, completion): assert completion == "ash-completion-test-subject.deb"