def test_unbind(self, Comment): comment = Comment("", "") comment.bind("ws") comment.unbind() assert comment.parent is None
def test_bind(self, Comment): comment = Comment("", "") comment.bind("ws") assert comment.parent == "ws"