Test has_config returns True when config section exists.
(self, temp_yaml_files)
| 311 | assert config["temperature"] == 0.2 |
| 312 | |
| 313 | def test_has_config_true(self, temp_yaml_files): |
| 314 | """Test has_config returns True when config section exists.""" |
| 315 | parser = YAMLTaskParser() |
| 316 | yaml_data = parser.load_task(temp_yaml_files["main_yaml"]) |
| 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.""" |
nothing calls this directly
no test coverage detected