code: def test_commit_no_exec_missing_dep(tmp_dir, dvc):
      stage = dvc.run(
          name="my",
          cmd="mycmd",
          deps=["dep"],
          outs=["out"],
          no_exec=True,
      )
      assert dvc.status(stage.path)
  
      with pytest.raises(DependencyDoesNotExistError):
          dvc.commit(stage.path, force=True)
  
imports: import os
  import textwrap
  import pytest
  from dvc.dependency.base import DependencyDoesNotExistError
  from dvc.dvcfile import PROJECT_FILE
  from dvc.fs import localfs
  from dvc.output import OutputDoesNotExistError
  from dvc.stage.exceptions import StageCommitError
label_desc: Use image node_id 11 for calling a global function with example usage: test_commit_no_exec_missing_dep(tmp_dir, dvc) without return types