/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_su.py
13 строк
285 B
Ville Skyttä
test(su): skip options test on non-Linux
22 апр 2021, 22:40
22 апр 2021, 22:40
6811198
Код
Авторство
О чём код?
import pytest class TestSu: @pytest.mark.complete("su ") def test_1(self, completion): assert completion @pytest.mark.complete( "su -", require_cmd=True, skipif="[[ $OSTYPE != *linux* ]]" ) def test_2(self, completion): assert completion