From 504e9a0b8b41d7c06500974151058796483d0be0 Mon Sep 17 00:00:00 2001 From: Annick Renevey <47788523+rannick@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:00:47 +0200 Subject: [PATCH] update test --- tests/cli/upload/test_cli_scout.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/cli/upload/test_cli_scout.py b/tests/cli/upload/test_cli_scout.py index ffbeb30e9d..595d3d0253 100644 --- a/tests/cli/upload/test_cli_scout.py +++ b/tests/cli/upload/test_cli_scout.py @@ -27,10 +27,12 @@ Workflow.RNAFUSION, ] -ANALYSIS_API: dict[Workflow, UploadAPI] = [ - (Workflow.BALSAMIC, BalsamicAnalysisAPI)(Workflow.MIP_DNA, MipDNAAnalysisAPI)( - Workflow.MIP_RNA, MipRNAAnalysisAPI - )(Workflow.RNAFUSION, RnafusionAnalysisAPI)(Workflow.TOMTE, TomteAnalysisAPI) +ANALYSIS_API: list = [ + (Workflow.BALSAMIC, BalsamicAnalysisAPI), + (Workflow.MIP_DNA, MipDNAAnalysisAPI), + (Workflow.MIP_RNA, MipRNAAnalysisAPI), + (Workflow.RNAFUSION, RnafusionAnalysisAPI), + (Workflow.TOMTE, TomteAnalysisAPI), ] @@ -50,7 +52,7 @@ def test_get_upload_api( # GIVEN a case with a balsamic analysis case: Case = helpers.ensure_case( - store=status_db, data_analysis=Workflow.BALSAMIC, case_id=case_id + store=status_db, data_analysis=workflow, case_id=case_id ) helpers.add_analysis(store=status_db, case=case, workflow=workflow)