MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / test_has_config_false

Method test_has_config_false

tests/test_per_file_config.py:319–323  ·  view source on GitHub ↗

Test has_config returns False when no config section.

(self, temp_yaml_files)

Source from the content-addressed store, hash-verified

317 assert parser.has_config(yaml_data) is True
318
319 def test_has_config_false(self, temp_yaml_files):
320 """Test has_config returns False when no config section."""
321 parser = YAMLTaskParser()
322 yaml_data = parser.load_task(temp_yaml_files["no_config_yaml"])
323 assert parser.has_config(yaml_data) is False
324
325
326# =============================================================================

Callers

nothing calls this directly

Calls 3

load_taskMethod · 0.95
has_configMethod · 0.95
YAMLTaskParserClass · 0.90

Tested by

no test coverage detected