code: def test_outs_no_cache_deactivate_run_cache(
      tmp_dir, dvc, out_type, run_cache
  ):
      tmp_dir.gen("foo", "foo")
      dvc.run(
          deps=["foo"],
          cmd="cp foo bar && cp foo goo",
          outs=["goo"],
          name="copy-foo-bar",
          **{out_type: ["bar"]},
      )
      assert os.path.isdir(dvc.stage_cache.cache_dir) == run_cache
  
file_path: dvc/tests/func/test_run_cache.py
imports: import os
  import pytest
  from funcy import first
  from dvc.dvcfile import LOCK_FILE
  from dvc.stage.cache import RunCacheNotSupported, _get_stage_hash
  from dvc.utils.fs import remove
label_desc: Use image node_id 6 for calling a global function with example usage: test_outs_no_cache_deactivate_run_cache(tmp_dir, dvc, out_type, run_cache) without return types