code: def test_get_config(monkeypatch):
      cfg = {"foo": 3, "env": {"a": 0}, "services": ["ls"]}
  
      class MockArgs:
          def __init__(self):
              self.caliban_config = cfg
  
      class MockFile:
          def __enter__(self):
              pass
  
          def __exit__(self, a, b, c):
              pass
  
      monkeypatch.setattr(os.path, "exists", lambda x: True)
      monkeypatch.setattr(builtins, "open", lambda x: MockFile())
      monkeypatch.setattr(
          json, "load", lambda x: {"env": {}, "services": []}
      )
      assert caliban_launcher._get_config(MockArgs()) == cfg
  
file_path: caliban/tests/caliban/resources/test_caliban_launcher.py
imports: import argparse
  import builtins
  from google.auth import credentials
  import json
  import os
  import pytest
  import tempfile
  from typing import Any
  from caliban.resources import caliban_launcher
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_config(monkeypatch) without return types