code: def test_run_stage_dry(caplog, dvc, cmd, expected):
      with caplog.at_level(level=logging.INFO, logger="dvc"):
          stage = Stage(dvc, "stage.dvc", cmd=cmd)
          run_stage(stage, dry=True)
  
      expected.insert(0, "Running stage 'stage.dvc':")
      assert caplog.messages == expected
  
imports: import logging
  import pytest
  from dvc.stage import Stage
  from dvc.stage.run import run_stage
label_desc: Use image node_id 1 for calling a global function with example usage: test_run_stage_dry(caplog, dvc, cmd, expected) without return types