code: def test_convert_no_input(runner, tmpdir):
      """Test fix of issue1985"""
      outputname = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group, ["convert", "-o", outputname, "-f", "JPEG"]
      )
      assert result.exit_code == 2
  
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 14 for calling a global function with example usage: test_convert_no_input(runner, tmpdir) without return types