code: def test_interface_only_source():
      G = nx.complete_graph(5)
      for interface_func in [nx.minimum_node_cut, nx.minimum_edge_cut]:
          pytest.raises(nx.NetworkXError, interface_func, G, s=0)
  
imports: import pytest
  import networkx
  from networkx.algorithms import flow
  from networkx.algorithms.connectivity import minimum_st_edge_cut, minimum_st_node_cut
  from networkx.utils import arbitrary_element
label_desc: Use image node_id 21 for calling a global function with example usage: test_interface_only_source() without return types