/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_userdel.py
11 строк
285 B
Ville Skyttä
test: simplify completion parsing
04 июн 2020, 23:58
04 июн 2020, 23:58
726e4c0
Код
Авторство
О чём код?
import pytest class TestUserdel: @pytest.mark.complete("userdel -", require_cmd=True) def test_1(self, completion): assert completion @pytest.mark.complete("userdel roo") def test_2(self, completion): assert completion == "t" or "root" in completion