Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libfprint
fprintd
Commits
8e3345a6
Commit
8e3345a6
authored
Jan 31, 2020
by
Marco Trevisan
Committed by
Bastien Nocera
Feb 04, 2020
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/dbusmock/fprintd.py
View file @
8e3345a6
...
...
@@ -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
.
U
Int32
(
num_enroll_stages
,
variant_level
=
1
),
'num-enroll-stages'
:
dbus
.
Int32
(
num_enroll_stages
,
variant_level
=
1
),
'scan-type'
:
scan_type
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment