libfprint/SOURCES/0097-tests-Test-finger-removal-after-minutiae-scan-comple.patch
2021-09-09 20:12:48 +00:00

35 lines
1.0 KiB
Diff

From e4c2c0a75a3032b26c5a7b361a0449120bb46529 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Wed, 4 Dec 2019 20:00:49 +0100
Subject: [PATCH 097/181] tests: Test finger removal after minutiae scan
completion
---
tests/virtual-image.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/virtual-image.py b/tests/virtual-image.py
index 86bd86d..87c221b 100755
--- a/tests/virtual-image.py
+++ b/tests/virtual-image.py
@@ -182,10 +182,16 @@ class VirtualImage(unittest.TestCase):
while self._step < 1:
ctx.iteration(True)
+ # Test the image-device path where the finger is removed after
+ # the minutiae scan is completed.
+ self.send_finger_automatic(False)
+ self.send_finger_report(True)
self.send_image(image)
while self._step < 2:
ctx.iteration(True)
+ self.send_finger_report(False)
+ self.send_finger_automatic(True)
self.send_image(image)
while self._step < 3:
ctx.iteration(True)
--
2.24.1