Skip to content

Commit 7d7062e

Browse files
yedayakscop
andcommitted
test(fprintd): xfail --finger in container
Containers usually don't have fingerprint readers Co-Authored-By: Ville Skyttä <ville.skytta@iki.fi>
1 parent 1b87ff7 commit 7d7062e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/t/test_fprintd_enroll.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import pytest
22

3+
from conftest import in_container
4+
35

46
@pytest.mark.bashcomp(
57
cmd="fprintd-enroll",
@@ -13,6 +15,9 @@ def test_basic(self, completion):
1315
def test_options(self, completion):
1416
assert completion
1517

18+
@pytest.mark.skipif(
19+
in_container(), reason="Probably no fingerprint readers in container"
20+
)
1621
@pytest.mark.complete("fprintd-enroll --finger ", require_cmd=True)
1722
def test_finger(self, completion):
1823
assert completion

0 commit comments

Comments
 (0)