From 93e4d2fdb80366b280cb5cdf82118797f87e88d9 Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Sun, 30 Jan 2022 14:28:36 +0530 Subject: [PATCH] Fix failing tests --- adaptive_learning_manager/service/AdaptationManager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/adaptive_learning_manager/service/AdaptationManager.py b/adaptive_learning_manager/service/AdaptationManager.py index 2608b8a..f8a4935 100644 --- a/adaptive_learning_manager/service/AdaptationManager.py +++ b/adaptive_learning_manager/service/AdaptationManager.py @@ -61,8 +61,6 @@ def analyse(self): def plan(self, suitable_configs): if len(suitable_configs) == 0: return None - elif len(suitable_configs) == 1: - return suitable_configs[0] else: return goals.pick_best_config(suitable_configs, self.current_context['goal'])