code: def test_env(runner):
      result = runner.invoke(main_group, ["env", "--formats"])
      assert result.exit_code == 0
      assert "GTiff" in result.output
  
imports: import json
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
  from .conftest import credentials
label_desc: Use image node_id 1 for calling a global function with example usage: test_env(runner) without return types