Commit c0bf1515 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

tests: Check that verify test doesn't succeed early

parent 87208988
......@@ -98,6 +98,7 @@ class TestFprintd(dbusmock.DBusTestCase):
with open(mock_log.name) as f:
out = f.read()
self.assertRegex(out, r'left-little-finger')
self.assertNotRegex(out, 'Verify result: verify-match \(done\)')
self.device_mock.EmitVerifyStatus('verify-match', True)
time.sleep(0.5)
......
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