mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
device: Add void return type tag to fp_device_delete_print_sync
This way it matches the other _sync functions that return a boolean just to show that an error was set.
This commit is contained in:
committed by
Benjamin Berg
parent
9c0cd3fb23
commit
046607add6
@@ -1007,7 +1007,7 @@ class VirtualDeviceStorage(VirtualDevice):
|
||||
def cleanup_device_storage(self):
|
||||
if self.dev.is_open() and not self.dev.props.removed:
|
||||
for print in self.dev.list_prints_sync():
|
||||
self.assertTrue(self.dev.delete_print_sync(print, None))
|
||||
self.dev.delete_print_sync(print, None)
|
||||
|
||||
def test_device_properties(self):
|
||||
self.assertEqual(self.dev.get_driver(), 'virtual_device_storage')
|
||||
|
||||
Reference in New Issue
Block a user