Skip to content

Commit

Permalink
test(subworkflows): Remove unused mock
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Mar 27, 2023
1 parent 816c6b9 commit aa770e0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_subworkflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit aa770e0

Please sign in to comment.