MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / fake_from_active_cluster

Function fake_from_active_cluster

python/openshell/sandbox_test.py:1275–1280  ·  view source on GitHub ↗
(**kwargs: Any)

Source from the content-addressed store, hash-verified

1273 pass
1274
1275 def fake_from_active_cluster(**kwargs: Any) -> Any:
1276 captured.update(kwargs)
1277 # Short-circuit the rest of __enter__ (which would try to create
1278 # a session against a real gateway). The kwargs we care about
1279 # have already been recorded.
1280 raise _Sentinel
1281
1282 monkeypatch.setattr(
1283 SandboxClient, "from_active_cluster", staticmethod(fake_from_active_cluster)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected