Problem
The test suite for ConfigurationManager expects methods and attributes that don't match the actual implementation:
Tests expect:
register_config_type(name, config_class) method
_config_types attribute
- Config type registration and creation workflow
Implementation provides:
register_config(name, config_instance) method
configurations attribute
- Config instance storage workflow
Impact
- Tests in
TestConfigurationManager class fail/timeout due to missing methods
- API inconsistency between test expectations and implementation
Files Affected
tests/core/test_wrapper_framework.py (lines 301-340)
src/orchestrator/core/wrapper_config.py (ConfigurationManager class)
Solution Options
- Update ConfigurationManager to match test expectations
- Update tests to match current implementation
- Design new unified API that serves both needs
Priority
Medium - affects test coverage but doesn't block core functionality
Problem
The test suite for
ConfigurationManagerexpects methods and attributes that don't match the actual implementation:Tests expect:
register_config_type(name, config_class)method_config_typesattributeImplementation provides:
register_config(name, config_instance)methodconfigurationsattributeImpact
TestConfigurationManagerclass fail/timeout due to missing methodsFiles Affected
tests/core/test_wrapper_framework.py(lines 301-340)src/orchestrator/core/wrapper_config.py(ConfigurationManager class)Solution Options
Priority
Medium - affects test coverage but doesn't block core functionality