Skip to content
Snippets Groups Projects
Commit a0d0a9b5 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix function name

parent 1c336ede
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class IdleMock:
Returns True if event was set, False on timeout
'''
self._event.wait(IDLEMOCK_TIMEOUT)
if self._event.is_set():
if self._event.isSet():
self._event.clear()
return True
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment