/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_less.py
11 строк
323 B
Ville Skyttä
_longopt: exclude too many dashes, allow underscores, require ends with alnum
30 июн 2020, 01:08
30 июн 2020, 01:08
e2bcbd5
Код
Авторство
О чём код?
import pytest class TestLess: @pytest.mark.complete("less --", require_longopt=True) def test_1(self, completion): assert completion @pytest.mark.complete("less --", require_longopt=True) def test_no_dashdashdash(self, completion): assert all(not x.startswith("---") for x in completion)