summaryrefslogtreecommitdiff
path: root/kazoo/tests/test_barrier.py
diff options
context:
space:
mode:
Diffstat (limited to 'kazoo/tests/test_barrier.py')
-rw-r--r--kazoo/tests/test_barrier.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kazoo/tests/test_barrier.py b/kazoo/tests/test_barrier.py
index d0ea870..5f79e86 100644
--- a/kazoo/tests/test_barrier.py
+++ b/kazoo/tests/test_barrier.py
@@ -136,15 +136,15 @@ class KazooDoubleBarrierTests(KazooTestCase):
t2.join()
def test_barrier_existing_parent_node(self):
- b = self.client.DoubleBarrier('/some/path', 1)
+ b = self.client.DoubleBarrier("/some/path", 1)
assert b.participating is False
- self.client.create('/some', ephemeral=True)
+ self.client.create("/some", ephemeral=True)
# the barrier cannot create children under an ephemeral node
b.enter()
assert b.participating is False
def test_barrier_existing_node(self):
- b = self.client.DoubleBarrier('/some', 1)
+ b = self.client.DoubleBarrier("/some", 1)
assert b.participating is False
self.client.ensure_path(b.path)
self.client.create(b.create_path, ephemeral=True)