code: def test_stage_checksum(mocker):
      stage = Stage(None, "path", cmd="mycmd")
  
      mocker.patch.object(stage, "dumpd", return_value=TEST_STAGE_DICT)
      assert stage.compute_md5() == "e9521a22111493406ea64a88cda63e0b"
  
file_path: dvc/tests/unit/stage/test_stage.py
imports: import os
  import signal
  import subprocess
  import threading
  import pytest
  from dvc.dependency.repo import RepoDependency
  from dvc.stage import Stage
  from dvc.stage.exceptions import StageUpdateError
label_desc: Use image node_id 1 for calling a global function with example usage: test_stage_checksum(mocker) without return types