Skip to content

Commit 9f5aedb

Browse files
authored
Merge pull request #1376 from yedayak/fprintd-skip-no-dbus
test(fprintd): xfail --finger in container
2 parents 1b87ff7 + 7d7062e commit 9f5aedb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/t/test_fprintd_enroll.py

+5
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)