/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_ether_wake.py
18 строк
459 B
Ville Skyttä
test(pytest): pytest.mark.skip instead of xfail where appropriate
25 июн 2026, 21:30
25 июн 2026, 21:30
b00976f
Код
Авторство
О чём код?
import os import pytest @pytest.mark.bashcomp(cmd="ether-wake") class TestEtherWake: @pytest.mark.skipif( os.environ.get("NETWORK") == "none", reason="MAC addresses may be N/A with no networking configured", ) @pytest.mark.complete("ether-wake ") def test_1(self, completion): assert completion @pytest.mark.complete("ether-wake -", require_cmd=True) def test_2(self, completion): assert completion