def test_set_node_func(self):
    test_node = node(identity, 'A', 'B')
    test_node.func = decorated_identity
    assert (test_node.func is decorated_identity)
def test_set_node_func(self):
    test_node = node(identity, 'A', 'B')
    test_node.func = decorated_identity
    assert (test_node.func is decorated_identity)