Commit 8e3345a6 authored by Marco Trevisan's avatar Marco Trevisan Committed by Bastien Nocera
Browse files

tests: Fix num-enroll-stages signature in dbusmock template

It's marked as a signed integer, not an unsigned one in the API.
parent 33a21b50
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment