code: def test_info_subdatasets(runner):
      result = runner.invoke(
          main_group,
          ["info", "netcdf:tests/data/RGB.nc", "--subdatasets"],
      )
      assert result.exit_code == 0
      assert len(result.output) == 93
      assert result.output.startswith("netcdf:tests/data/RGB.nc:Band1")
  
imports: import json
  import pytest
  import rasterio
  from rasterio.rio.main import main_group
  from .conftest import credentials
label_desc: Use image node_id 41 for calling a global function with example usage: test_info_subdatasets(runner) without return types