summaryrefslogtreecommitdiff
path: root/kazoo/testing/harness.py
diff options
context:
space:
mode:
Diffstat (limited to 'kazoo/testing/harness.py')
-rw-r--r--kazoo/testing/harness.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kazoo/testing/harness.py b/kazoo/testing/harness.py
index ce8748a..4cd419d 100644
--- a/kazoo/testing/harness.py
+++ b/kazoo/testing/harness.py
@@ -229,11 +229,11 @@ class KazooTestHarness(unittest.TestCase):
self.client._call(break_event, None)
lost.wait(5)
- if not lost.isSet():
+ if not lost.is_set():
raise Exception("Failed to get notified of broken connection.")
safe.wait(15)
- if not safe.isSet():
+ if not safe.is_set():
raise Exception("Failed to see client reconnect.")
self.client.retry(self.client.get_async, '/')