From 629f7fcc11da0103cb2d79b84e60c99179a2a200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 3 Apr 2020 02:08:17 +0200 Subject: [PATCH] dbusmock/fprintd: Reset the current action on release So it happens in the real daemon --- tests/dbusmock/fprintd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/dbusmock/fprintd.py b/tests/dbusmock/fprintd.py index 0fcbe58..f4cf00e 100644 --- a/tests/dbusmock/fprintd.py +++ b/tests/dbusmock/fprintd.py @@ -186,6 +186,7 @@ def Release(device): 'Device was not claimed before use', name='net.reactivated.Fprint.Error.ClaimDevice') device.claimed_user = None + device.action = None def can_verify_finger(device, finger_name): # We should already have checked that there are enrolled fingers