code: def test_rasterize_missing_parameters(tmpdir, runner, basic_feature):
      """At least --res or --dimensions are required"""
  
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["rasterize", "-o", output],
          input=json.dumps(basic_feature),
      )
  
      assert result.exit_code == 2
      assert "pixel dimensions are required" in result.output
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 20 for calling a global function with example usage: test_rasterize_missing_parameters(tmpdir, runner, basic_feature) without return types