From ea0241d4d35d28255684d53105ab6c269a534e69 Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Sun, 8 Oct 2017 04:40:39 +0200
Subject: [PATCH] on_fail

---
 tests/test_clustering/test_things.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_clustering/test_things.py b/tests/test_clustering/test_things.py
index 51cf2ff..4db5069 100644
--- a/tests/test_clustering/test_things.py
+++ b/tests/test_clustering/test_things.py
@@ -23,7 +23,7 @@ class TestConnecting(unittest.TestCase):
         self.assertTrue(q['failed'])
 
     def test_on_clean(self):
-        q = {}
+        q = {'failed': False}
         c = Cluster([NODE], on_fail=lambda: q.update(failed=True))
         c.start()
         time.sleep(5)
-- 
GitLab