tests/fprintd: Ensure that we can't verify without enrolled fingers

This commit is contained in:
Marco Trevisan (Treviño)
2020-02-08 15:11:57 +01:00
committed by Bastien Nocera
parent 1f8bb1abd4
commit 8bdbc7e2b0

View File

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