Blame SOURCES/0097-tests-Test-finger-removal-after-minutiae-scan-comple.patch

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