code: def test_convert_no_input_overwrite(runner, tmpdir):
      """Test fix of issue1985"""
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["convert", "--overwrite", outputname, "-f", "JPEG"],
      )
      assert result.exit_code == 2
      assert "Insufficient inputs" in result.output
  
file_path: rasterio/tests/test_rio_convert.py
imports: import pytest
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 15 for calling a global function with example usage: test_convert_no_input_overwrite(runner, tmpdir) without return types