/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_arp.py
13 строк
309 B
Ville Skyttä
style: use `! STRING` instead of `-z STRING`
14 апр 2022, 07:55
14 апр 2022, 07:55
68c8aed
Код
Авторство
О чём код?
import pytest class TestArp: @pytest.mark.complete( "arp ", require_cmd=True, skipif='test ! "$(arp 2>/dev/null)"' ) def test_1(self, completion): assert completion @pytest.mark.complete("arp -", require_cmd=True) def test_2(self, completion): assert completion