def test_has_unbalanced_children_with_balanced_tree(self): root = create_balanced_tree() tree = AVL(root) expect(tree._has_unbalanced_children(tree.get_root())).to.be(False)