code: def test_version(runner):
      result = runner.invoke(main_group, ["--version"])
      assert result.exit_code == 0
      assert rasterio.__version__ in result.output
  
imports: from pkg_resources import iter_entry_points
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 1 for calling a global function with example usage: test_version(runner) without return types