def METHOD_NAME(self):
    """
    Test replace op type of nodes with given op type
    """
    model = models_for_tests.build_dummy_model()
    node_ls = [node.op_type for node in model.graph.node]
    assert node_ls == ['Conv', 'Relu', 'MaxPool', 'Flatten', 'Gemm']
    utils.replace_node_with_op('Conv', 'CustomOp', model.graph)
    new_node_ls = [node.op_type for node in model.graph.node]
    assert new_node_ls == ['CustomOp', 'Relu', 'MaxPool', 'Flatten', 'Gemm']