code: def test_load_remote(dvc):
      stage = Stage(dvc)
      (foo, bar) = output.load_from_pipeline(
          stage,
          ["foo", {"bar": {"remote": "myremote"}}],
      )
      assert foo.remote is None
      assert bar.remote == "myremote"
  
file_path: dvc/tests/unit/output/test_load.py
imports: import pytest
  from dvc_s3 import S3FileSystem
  from dvc import output
  from dvc.fs import LocalFileSystem
  from dvc.output import Output
  from dvc.stage import Stage
label_desc: Use image node_id 4 for calling a global function with example usage: test_load_remote(dvc) without return types