tests: Test finger removal after minutiae scan completion

This commit is contained in:
Benjamin Berg 2019-12-04 20:00:49 +01:00 committed by Benjamin Berg
parent 50a837573d
commit f404a69b73
1 changed files with 6 additions and 0 deletions

View File

@ -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)