code: def test_gnp_augmentation():
      rng = random.Random(0)
      G = nx.gnp_random_graph(30, 0.005, seed=0)
      # Randomly make edges available
      avail = {
          (u, v): 1 + rng.random()
          for u, v in complement_edges(G)
          if rng.random() < 0.25
      }
      _check_augmentations(G, avail)
  
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 21 for calling a global function with example usage: test_gnp_augmentation() without return types