code: def test_rasterize_property_value(tmpdir, runner, basic_feature):
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          [
              "rasterize",
              output,
              "--dimensions",
              DEFAULT_SHAPE[0],
              DEFAULT_SHAPE[1],
              "--property",
              "val",
          ],
          input=json.dumps(basic_feature),
      )
  
      assert result.exit_code == 0
      assert os.path.exists(output)
      with rasterio.open(output) as out:
          assert np.allclose(out.bounds, (2, 2, 4.25, 4.25))
          data = out.read(1, masked=False)
          assert data.shape == DEFAULT_SHAPE
          assert np.all(data == basic_feature["properties"]["val"])
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 16 for calling a global function with example usage: test_rasterize_property_value(tmpdir, runner, basic_feature) without return types