From aa770e0cfd436e8f5efe91a76220a9fdfd847085 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Mon, 27 Mar 2023 18:32:18 -0500 Subject: [PATCH] test(subworkflows): Remove unused mock --- tests/test_subworkflows.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_subworkflows.py b/tests/test_subworkflows.py index c07e5d92d8..c5d768ab10 100644 --- a/tests/test_subworkflows.py +++ b/tests/test_subworkflows.py @@ -30,10 +30,9 @@ def create_modules_repo_dummy(tmp_dir): with open(os.path.join(root_dir, ".nf-core.yml"), "w") as fh: fh.writelines(["repository_type: modules", "\n", "org_path: nf-core", "\n"]) - # FIXME This mock isn't used - with responses.RequestsMock() as rsps: - subworkflow_create = nf_core.subworkflows.SubworkflowCreate(root_dir, "test_subworkflow", "@author", True) - subworkflow_create.create() + # TODO Add a mock here + subworkflow_create = nf_core.subworkflows.SubworkflowCreate(root_dir, "test_subworkflow", "@author", True) + subworkflow_create.create() return root_dir