code: def assert_step(
      graph: ProcessingGraph,
      processing_step_name: str,
      children: list[str],
      parents: list[str],
      ancestors: list[str],
  ) -> None:
      assert_lists_are_equal(
          graph.get_children(processing_step_name), children
      )
      assert_lists_are_equal(
          graph.get_parents(processing_step_name), parents
      )
      assert_lists_are_equal(
          graph.get_ancestors(processing_step_name), ancestors
      )
  
imports: import pytest
  from libcommon.processing_graph import ProcessingGraph, ProcessingGraphSpecification, ProcessingStep, processing_graph
label_desc: Use image node_id 2 for calling a global function with example usage: assert_step(graph, processing_step_name, children, parents, ancestors) without return types