Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Sep 3, 2024
1 parent 52067e0 commit 504e9a0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/cli/upload/test_cli_scout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]


Expand All @@ -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)

Expand Down

0 comments on commit 504e9a0

Please sign in to comment.