mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-08 12:28:01 +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:
parent
33a21b5089
commit
8e3345a60f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue