code: def test_rasterize_like_raster_outside_bounds(
      tmpdir, runner, basic_feature, pixelated_image_file
  ):
      """
      Rasterizing a feature outside bounds of --like raster should result
      in a blank image
      """
  
      coords = np.array(basic_feature["geometry"]["coordinates"]) + 100
      basic_feature["geometry"]["coordinates"] = coords.tolist()
  
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["rasterize", output, "--like", pixelated_image_file],
          input=json.dumps(basic_feature),
      )
  
      assert result.exit_code == 0
      assert "outside bounds" in result.output
      assert os.path.exists(output)
      with rasterio.open(output) as out:
          assert not np.any(out.read(1, masked=False))
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 17 for calling a global function with example usage: test_rasterize_like_raster_outside_bounds(tmpdir, runner, basic_feature, pixelated_image_file) without return types