code: def test_env_formats(runner):
      """GTIFF format driver is registered."""
      result = runner.invoke(
          main_group,
          ["env", "--formats"],
      )
      assert "GTiff" in result.output
  
imports: from rasterio.rio.main import main_group
label_desc: Use image node_id 4 for calling a global function with example usage: test_env_formats(runner) without return types