From cfa1829bbc7a6a70675896af567145c50f2f1817 Mon Sep 17 00:00:00 2001 From: Waleed Akbar <wakbar@cttc.es> Date: Fri, 17 Jan 2025 15:01:09 +0000 Subject: [PATCH] Updated Analyatics Backend tests --- src/analytics/backend/tests/test_backend.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/analytics/backend/tests/test_backend.py b/src/analytics/backend/tests/test_backend.py index 3be34ee9f..91d53000d 100644 --- a/src/analytics/backend/tests/test_backend.py +++ b/src/analytics/backend/tests/test_backend.py @@ -99,12 +99,12 @@ def analyzer_data(): return { 'algo_name' : 'test_algorithm', 'oper_mode' : 'test_mode', - 'input_kpis' : ['kpi1', 'kpi2'], - 'output_kpis': ['kpi3'], - 'thresholds' : {'kpi1': 0.5}, - 'batch_size' : 10, - 'window_size': 5, - 'duration' : 20, + 'input_kpis' : get_input_kpi_list(), + 'output_kpis': get_output_kpi_list(), + 'thresholds' : get_thresholds(), + 'batch_size' : get_batch_size(), + 'window_size': get_windows_size(), + 'duration' : get_duration(), } def test_start_streamer(analytics_service, analyzer_data): -- GitLab