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

Method test_equality

tests/datasets/test_config.py:89–96  ·  view source on GitHub ↗

Test equality comparison.

(self)

Source from the content-addressed store, hash-verified

87 assert result.get("data_size") is None or "data_size" not in result
88
89 def test_equality(self):
90 """Test equality comparison."""
91 config1 = DatasetConfig(file_path="/path/a.json", source="A")
92 config2 = DatasetConfig(file_path="/path/a.json", source="A")
93 config3 = DatasetConfig(file_path="/path/b.json", source="B")
94
95 assert config1 == config2
96 assert config1 != config3
97
98
99class TestStandardConfig:

Callers

nothing calls this directly

Calls 1

DatasetConfigClass · 0.90

Tested by

no test coverage detected