code: def test_single_source_shortest_path(self):
      p = nx.single_source_shortest_path(self.directed_cycle, 3)
      assert p[0] == [3, 4, 5, 6, 0]
      p = nx.single_source_shortest_path(self.cycle, 0)
      assert p[3] == [0, 1, 2, 3]
      p = nx.single_source_shortest_path(self.cycle, 0, cutoff=0)
      assert p == {0: [0]}
  
file_path: networkx/networkx/algorithms/shortest_paths/tests/test_unweighted.py
imports: import pytest
  import networkx
label_desc: Use image node_id 5 for calling the TestUnweightedPath obj's underlying member method code with example usage: obj.test_single_source_shortest_path() without return types