def test_AgentConfigManager_get_overridables(): """Test agent config manager get_overridables.""" path = Path(CUR_PATH, "data", "dummy_aea") agent_config = AEABuilder.try_to_load_agent_configuration_file(path) config_manager = AgentConfigManager(agent_config, path) agent_overridables, component_overridables = config_manager.get_overridables( ) assert "description" in agent_overridables assert "is_abstract" in list(component_overridables.values())[0]
def _get_agent_config(cls, path: Union[Path, str]) -> AgentConfig: """Get agent config instance.""" return AEABuilder.try_to_load_agent_configuration_file(path)