code: def test_dst_nodata_int_ok(runner, tmpdir):
      """Check if input nodata is overridden"""
      srcname = "tests/data/RGB.byte.tif"
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["warp", srcname, outputname, "--dst-nodata", "255"],
      )
      assert result.exit_code == 0
      with rasterio.open(outputname) as src:
          assert src.meta["nodata"] == 255
  
imports: import os
  import affine
  import numpy
  import pytest
  import rasterio
  from rasterio.warp import SUPPORTED_RESAMPLING
  from rasterio.rio import warp
  from rasterio.rio.main import main_group
label_desc: Use image node_id 7 for calling a global function with example usage: test_dst_nodata_int_ok(runner, tmpdir) without return types