mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
tests/fprintd-utils: Check that verify returns an error if no finger is set
This commit is contained in:
@ -322,11 +322,6 @@ def SetEnrolledFingers(device, user, fingers):
|
||||
Returns nothing.
|
||||
'''
|
||||
|
||||
if len(fingers) < 1:
|
||||
raise dbus.exceptions.DBusException(
|
||||
'Fingers array must not be empty',
|
||||
name='org.freedesktop.DBus.Error.InvalidArgs')
|
||||
|
||||
for k in fingers:
|
||||
if k not in VALID_FINGER_NAMES:
|
||||
raise dbus.exceptions.DBusException(
|
||||
|
||||
Reference in New Issue
Block a user