mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests/fprintd-utils: Check that fprintd-verify requests the expected finger
This commit is contained in:
@ -203,6 +203,10 @@ class TestFprintdUtilsVerify(TestFprintdUtilsBase):
|
||||
for f in self.enrolled_fingers:
|
||||
self.assertIn(f, out)
|
||||
|
||||
if finger:
|
||||
expected_finger = finger
|
||||
self.assertEqual(self.device_mock.GetSelectedFinger(), expected_finger)
|
||||
|
||||
def assertVerifyMatch(self, match):
|
||||
self.assertIn('Verify result: {} (done)'.format(
|
||||
'verify-match' if match else 'verify-no-match'),
|
||||
|
||||
Reference in New Issue
Block a user