mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
tests/fprintd: Check that fingers deletion will remove user print
But will keep state dir where it is
This commit is contained in:
committed by
Benjamin Berg
parent
48ea3b89c9
commit
195f7eaf5f
@ -935,6 +935,8 @@ class FPrintdVirtualDeviceClaimedTest(FPrintdVirtualDeviceBaseTest):
|
|||||||
self.device.DeleteEnrolledFingers2()
|
self.device.DeleteEnrolledFingers2()
|
||||||
|
|
||||||
self.assertFalse(os.path.exists(os.path.join(self.state_dir, 'testuser/virtual_image/0/7')))
|
self.assertFalse(os.path.exists(os.path.join(self.state_dir, 'testuser/virtual_image/0/7')))
|
||||||
|
self.assertFalse(os.path.exists(os.path.join(self.state_dir, 'testuser')))
|
||||||
|
self.assertTrue(os.path.exists(self.state_dir))
|
||||||
|
|
||||||
def test_enroll_invalid_storage_dir(self):
|
def test_enroll_invalid_storage_dir(self):
|
||||||
# Directory will not exist yet
|
# Directory will not exist yet
|
||||||
|
|||||||
Reference in New Issue
Block a user