/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_kcov.py
16 строк
407 B
Ville Skyttä
test: simplify completion parsing
04 июн 2020, 23:58
04 июн 2020, 23:58
726e4c0
Код
Авторство
О чём код?
import pytest class TestKcov: @pytest.mark.complete("kcov ") def test_1(self, completion): assert completion @pytest.mark.complete("kcov --exclude-patter", require_cmd=True) def test_2(self, completion): assert completion == "n=" assert completion.endswith("=") @pytest.mark.complete("kcov -l 42,") def test_3(self, completion): assert completion