code: def test_hierarchy_tree():
      G = nx.full_rary_tree(2, 16, create_using=nx.DiGraph())
      assert nx.flow_hierarchy(G) == 1.0
  
imports: import pytest
  import networkx
label_desc: Use image node_id 3 for calling a global function with example usage: test_hierarchy_tree() without return types