def test_get_performance_configs(self) -> None: """Test get_performance_configs.""" config = Config(self.predefined_config) self.assertIsNotNone(config.evaluation.performance.configs) self.assertEqual(config.evaluation.performance.configs, config.get_performance_configs())
def test_get_performance_configs_on_empty_config(self) -> None: """Test get_performance_configs on empty config.""" config = Config() self.assertIsNone(config.get_performance_configs())