mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
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:
@ -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'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user