mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests: Fix num-enroll-stages signature in dbusmock template
It's marked as a signed integer, not an unsigned one in the API.
This commit is contained in:
committed by
Bastien Nocera
parent
33a21b5089
commit
8e3345a60f
@ -116,7 +116,7 @@ def AddDevice(self, device_name, num_enroll_stages, scan_type):
|
||||
path = '/net/reactivated/Fprint/Device/%d' % self.last_device_id
|
||||
device_properties = {
|
||||
'name': dbus.String(device_name, variant_level=1),
|
||||
'num-enroll-stages': dbus.UInt32(num_enroll_stages, variant_level=1),
|
||||
'num-enroll-stages': dbus.Int32(num_enroll_stages, variant_level=1),
|
||||
'scan-type': scan_type
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user