code: def test_graph_single_source(self):
      G = nx.Graph(self.edges)
      G.add_edge(4, 5)
      x = list(nx.edge_bfs(G, [0]))
      x_ = [(0, 1), (0, 2), (1, 2), (1, 3)]
      assert x == x_
  
imports: import pytest
  import networkx
  from networkx.algorithms.traversal.edgedfs import FORWARD, REVERSE
label_desc: Use image node_id 3 for calling the TestEdgeBFS obj's underlying member method code with example usage: obj.test_graph_single_source() without return types