mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2025-12-25 18:50:08 +01:00
tests/fprintd: Implement device removal via the 'UNPLUG' command
This commit is contained in:
parent
9a85bfa57f
commit
d2c8a383e6
1 changed files with 1 additions and 4 deletions
|
|
@ -699,7 +699,7 @@ class FPrintdVirtualStorageDeviceBaseTest(FPrintdVirtualDeviceBaseTest):
|
|||
self.send_command('RETRY', int(retry_error))
|
||||
|
||||
def send_remove(self, con=None):
|
||||
self.skipTest('Not implemented for {}'.format(self.device_driver))
|
||||
self.send_command('UNPLUG')
|
||||
|
||||
def send_finger_automatic(self, automatic, con=None, iterate=True):
|
||||
if not automatic:
|
||||
|
|
@ -1225,9 +1225,6 @@ class FPrintdVirtualDeviceTest(FPrintdVirtualDeviceBaseTest):
|
|||
if not self._has_hotplug:
|
||||
self.skipTest("libfprint is too old for hotplug")
|
||||
|
||||
if self.device_driver == 'virtual_device_storage':
|
||||
self.skipTest('Not implemented for virtual_device_storage')
|
||||
|
||||
self._polkitd_obj.SetAllowed([FprintDevicePermission.set_username,
|
||||
FprintDevicePermission.enroll])
|
||||
self.device.Claim('(s)', 'testuser')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue