tests: Call VerifyStop in enroll_verify_list_delete test

The test didn't call this and the device would be left in an
inconsistent state, causing an error at shutdown time.
This commit is contained in:
Benjamin Berg
2020-12-03 21:14:44 +01:00
parent 2dc3a4e2c5
commit c0ad5880a4

View File

@ -820,6 +820,7 @@ class FPrintdVirtualDeviceClaimedTest(FPrintdVirtualDeviceBaseTest):
self.wait_for_result() self.wait_for_result()
self.assertTrue(self._verify_stopped) self.assertTrue(self._verify_stopped)
self.assertEqual(self._last_result, 'verify-match') self.assertEqual(self._last_result, 'verify-match')
self.device.VerifyStop()
self.assertEqual(self.device.ListEnrolledFingers('(s)', 'testuser'), ['right-index-finger']) self.assertEqual(self.device.ListEnrolledFingers('(s)', 'testuser'), ['right-index-finger'])