/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_fprintd_enroll.py
23 строки
614 B
Yedaya Katsman
test(fprintd): xfail --finger in container
11 май 2025, 18:51
11 май 2025, 18:51
7d7062e
Код
Авторство
О чём код?
import pytest from conftest import in_container @pytest.mark.bashcomp( cmd="fprintd-enroll", ) class TestFprintdEnroll: @pytest.mark.complete("fprintd-enroll ") def test_basic(self, completion): assert completion @pytest.mark.complete("fprintd-enroll -", require_cmd=True) def test_options(self, completion): assert completion @pytest.mark.skipif( in_container(), reason="Probably no fingerprint readers in container" ) @pytest.mark.complete("fprintd-enroll --finger ", require_cmd=True) def test_finger(self, completion): assert completion