MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_build_none_config

Method test_build_none_config

tests/utils/test_registry.py:199–202  ·  view source on GitHub ↗

Test building with None config.

(self, registry)

Source from the content-addressed store, hash-verified

197 assert instance.param2 == "from_kwargs"
198
199 def test_build_none_config(self, registry):
200 """Test building with None config."""
201 result = build_from_cfg(None, registry)
202 assert result is None
203
204 def test_build_missing_type(self, registry):
205 """Test building without type field raises error."""

Callers

nothing calls this directly

Calls 1

build_from_cfgFunction · 0.90

Tested by

no test coverage detected