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

Method test_load_sources_map

tests/datasets/test_config.py:252–256  ·  view source on GitHub ↗

Test loading sources map from config.

(self, temp_yaml_file)

Source from the content-addressed store, hash-verified

250 assert all(p.startswith("/data/root") for p in paths)
251
252 def test_load_sources_map(self, temp_yaml_file):
253 """Test loading sources map from config."""
254 sources_map = ConfigLoader.load_sources_map(temp_yaml_file)
255 assert isinstance(sources_map, dict)
256 assert len(sources_map) == 2
257
258 def test_create_config_from_file_paths(self):
259 """Test creating config from file paths."""

Callers

nothing calls this directly

Calls 1

load_sources_mapMethod · 0.80

Tested by

no test coverage detected