mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-01-04 09:50:18 +01:00
tests/fprintd: Add test to check errors during release
This commit is contained in:
parent
b46aba6fb2
commit
b92f39be3d
1 changed files with 6 additions and 0 deletions
|
|
@ -2291,6 +2291,12 @@ class FPrintdVirtualDeviceStorageClaimedTest(FPrintdVirtualStorageDeviceBaseTest
|
|||
with self.assertFprintError('PrintsNotDeleted'):
|
||||
self.wait_for_device_reply()
|
||||
|
||||
def test_release_error(self):
|
||||
self.send_error(FPrint.DeviceError.PROTO)
|
||||
|
||||
with self.assertFprintError('Internal'):
|
||||
self.device.Release()
|
||||
|
||||
|
||||
class FPrintdVirtualDeviceVerificationTests(FPrintdVirtualDeviceBaseTest):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue