human
I wrote the below code

    def test_function(self):
        with self.assertRaises(CircularDependencyError) as cm:
            traverse_graph(start_nodes, partial(get_successive_nodes, graph))
    return test_function

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def traverse_graph_on_cyclic_graph_test(graph, start_nodes):