diff --git a/test/t/test_fprintd_enroll.py b/test/t/test_fprintd_enroll.py index d5f941b220d..cb29ccdb9ac 100644 --- a/test/t/test_fprintd_enroll.py +++ b/test/t/test_fprintd_enroll.py @@ -1,5 +1,7 @@ import pytest +from conftest import in_container + @pytest.mark.bashcomp( cmd="fprintd-enroll", @@ -13,6 +15,9 @@ def test_basic(self, completion): 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