From c49e0cf4945fbfac69eae2676dcbe2114f8800db Mon Sep 17 00:00:00 2001 From: Sofia Stamouli <91951607+sofstam@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:57:51 +0100 Subject: [PATCH] Update tests/cli/workflow/taxprofiler/test_cli_taxprofiler_metrics_deliver.py Co-authored-by: Henrik Stranneheim --- .../workflow/taxprofiler/test_cli_taxprofiler_metrics_deliver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cli/workflow/taxprofiler/test_cli_taxprofiler_metrics_deliver.py b/tests/cli/workflow/taxprofiler/test_cli_taxprofiler_metrics_deliver.py index f745da4c2d..2e3cb828ea 100644 --- a/tests/cli/workflow/taxprofiler/test_cli_taxprofiler_metrics_deliver.py +++ b/tests/cli/workflow/taxprofiler/test_cli_taxprofiler_metrics_deliver.py @@ -40,6 +40,7 @@ def test_with_missing_case( assert not taxprofiler_context.status_db.get_case_by_internal_id( internal_id=case_id_does_not_exist ) + # WHEN running result = cli_runner.invoke(metrics_deliver, [case_id_does_not_exist], obj=taxprofiler_context) # THEN command should NOT successfully call the command it creates