Commit ad19c49e authored by Marco Trevisan's avatar Marco Trevisan Committed by Bastien Nocera
Browse files

tests/fprintd: Move tests which need a claimed device

parent a8de1003
......@@ -426,14 +426,6 @@ class FPrintdVirtualDeviceTest(FPrintdTest):
with self.assertFprintError('ClaimDevice'):
self.device.EnrollStop()
def test_wrong_finger_enroll_start(self):
self.device.Claim('(s)', 'testuser')
with self.assertFprintError('InvalidFingername'):
self.device.EnrollStart('(s)', 'any')
self.device.Release()
def test_unclaimed_delete_enrolled_fingers(self):
self.device.DeleteEnrolledFingers('(s)', 'testuser')
......@@ -445,6 +437,14 @@ class FPrintdVirtualDeviceTest(FPrintdTest):
with self.assertFprintError('NoEnrolledPrints'):
self.device.ListEnrolledFingers('(s)', 'testuser')
def test_wrong_finger_enroll_start(self):
self.device.Claim('(s)', 'testuser')
with self.assertFprintError('InvalidFingername'):
self.device.EnrollStart('(s)', 'any')
self.device.Release()
def test_enroll_verify_list_delete(self):
self.device.Claim('(s)', 'testuser')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment