From 46c096c893faf4082a0ad5990a147b517d7e1a7c Mon Sep 17 00:00:00 2001 From: Tommaso Comparin <3862206+tcompa@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:41:41 +0100 Subject: [PATCH] coverage --- tests/test_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_job.py b/tests/test_job.py index 44c2ae98..b4c9b1ed 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -25,9 +25,9 @@ def test_job_submit( PACKAGE_PATH = "/tmp/fractal_tasks_mock-0.0.1-py3-none-any.whl" urlretrieve(PACKAGE_URL, PACKAGE_PATH) - res = invoke(f"task collect {PACKAGE_PATH}") + res = invoke(f"--batch task collect {PACKAGE_PATH}") assert res.retcode == 0 - activity_id = res.data["id"] + activity_id = res.data # Create a project project = project_factory(name=new_name())