mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests/fprintd: Ensure that we can't verify without enrolled fingers
This commit is contained in:
committed by
Bastien Nocera
parent
1f8bb1abd4
commit
8bdbc7e2b0
@ -521,6 +521,10 @@ class FPrintdVirtualDeviceClaimedTest(FPrintdVirtualDeviceBaseTest):
|
||||
with self.assertFprintError('InvalidFingername'):
|
||||
self.device.EnrollStart('(s)', 'any')
|
||||
|
||||
def test_verify_with_no_enrolled_prints(self):
|
||||
with self.assertFprintError('NoEnrolledPrints'):
|
||||
self.device.VerifyStart('(s)', 'any')
|
||||
|
||||
def test_enroll_verify_list_delete(self):
|
||||
with self.assertFprintError('NoEnrolledPrints'):
|
||||
self.device.ListEnrolledFingers('(s)', 'testuser')
|
||||
|
||||
Reference in New Issue
Block a user