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

Method test_dfs_nested

tests/utils/test_config.py:119–124  ·  view source on GitHub ↗

Test dfs with nested dict.

(self)

Source from the content-addressed store, hash-verified

117 assert result["key"] == "value"
118
119 def test_dfs_nested(self):
120 """Test dfs with nested dict."""
121 config = Config()
122 result = config.dfs({"outer": {"inner": "value"}})
123 assert isinstance(result, Config)
124 assert isinstance(result["outer"], Config)
125
126 def test_dfs_with_list(self):
127 """Test dfs with list."""

Callers

nothing calls this directly

Calls 2

dfsMethod · 0.95
ConfigClass · 0.90

Tested by

no test coverage detected