mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests/fprintd: Add test to check errors during release
This commit is contained in:
@ -2291,6 +2291,12 @@ class FPrintdVirtualDeviceStorageClaimedTest(FPrintdVirtualStorageDeviceBaseTest
|
|||||||
with self.assertFprintError('PrintsNotDeleted'):
|
with self.assertFprintError('PrintsNotDeleted'):
|
||||||
self.wait_for_device_reply()
|
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):
|
class FPrintdVirtualDeviceVerificationTests(FPrintdVirtualDeviceBaseTest):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user