code: def test_is_locally_k_edge_connected():
      G = nx.barbell_graph(10, 0)
      assert is_locally_k_edge_connected(G, 5, 15, k=1)
      assert not is_locally_k_edge_connected(G, 5, 15, k=2)
  
      G = nx.Graph()
      G.add_nodes_from([5, 15])
      assert not is_locally_k_edge_connected(G, 5, 15, k=2)
  
imports: import itertools
  import random
  import pytest
  import networkx
  from networkx.algorithms.connectivity import k_edge_augmentation
  from networkx.algorithms.connectivity.edge_augmentation import _unpack_available_edges, collapse, complement_edges, is_k_edge_connected, is_locally_k_edge_connected
  from networkx.utils import pairwise
label_desc: Use image node_id 6 for calling a global function with example usage: test_is_locally_k_edge_connected() without return types