mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
tests/dbusmock/fprintd: Do not redefine device object methods multiple times
They will picked anyways by python dbusmock
This commit is contained in:
@ -127,18 +127,7 @@ def AddDevice(self, device_name, num_enroll_stages, scan_type,
|
|||||||
DEVICE_IFACE,
|
DEVICE_IFACE,
|
||||||
# Properties
|
# Properties
|
||||||
device_properties,
|
device_properties,
|
||||||
# Methods
|
[])
|
||||||
[
|
|
||||||
('ListEnrolledFingers', 's', 'as', ListEnrolledFingers),
|
|
||||||
('DeleteEnrolledFingers', 's', '', DeleteEnrolledFingers),
|
|
||||||
('DeleteEnrolledFingers2', '', '', DeleteEnrolledFingers2),
|
|
||||||
('Claim', 's', '', Claim),
|
|
||||||
('Release', '', '', Release),
|
|
||||||
('VerifyStart', 's', '', VerifyStart),
|
|
||||||
('VerifyStop', '', '', VerifyStop),
|
|
||||||
('EnrollStart', 's', '', EnrollStart),
|
|
||||||
('EnrollStop', '', '', EnrollStop)
|
|
||||||
])
|
|
||||||
|
|
||||||
device = mockobject.objects[path]
|
device = mockobject.objects[path]
|
||||||
device.fingers = {}
|
device.fingers = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user