code: def test_load_when_lockfile_does_not_exist(tmp_dir, dvc):
      assert {} == Lockfile(dvc, "pipelines.lock").load()
  
file_path: dvc/tests/unit/test_lockfile.py
imports: import pytest
  from dvc.dvcfile import FileIsGitIgnored, Lockfile
  from dvc.stage import PipelineStage
  from dvc.utils.strictyaml import YAMLValidationError
label_desc: Use image node_id 5 for calling a global function with example usage: test_load_when_lockfile_does_not_exist(tmp_dir, dvc) without return types