This commit is contained in:
Antonio Andelic 2022-07-20 08:10:52 +00:00
parent 84ef2c9a1f
commit 179d04518a

View File

@ -197,7 +197,9 @@ def compare_states(zk1, zk2, path="/", exclude_paths=[]):
if path == "/": if path == "/":
assert set(first_children) ^ set(second_children) == set(["keeper"]) assert set(first_children) ^ set(second_children) == set(["keeper"])
else: else:
assert first_children == second_children, "Childrens are not equal on path " + path assert first_children == second_children, (
"Childrens are not equal on path " + path
)
for children in first_children: for children in first_children:
if path != "/" or children != "keeper": if path != "/" or children != "keeper":