Skip to content

Commit

Permalink
fix subworkflows pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Sep 23, 2024
1 parent 23c2612 commit b41e64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/subworkflows/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_subworkflows_lint_multiple_remotes(self):

def test_subworkflows_lint_update_meta_yml(self):
"""update the meta.yml of a subworkflow"""
subworkflow_lint = nf_core.subworkflows.SubworkflowLint(dir=self.nfcore_modules, fix=True)
subworkflow_lint = nf_core.subworkflows.SubworkflowLint(directory=self.nfcore_modules, fix=True)
subworkflow_lint.lint(print_results=False, subworkflow="test_subworkflow")
assert len(subworkflow_lint.failed) == 0, f"Linting failed with {[x.__dict__ for x in subworkflow_lint.failed]}"
assert len(subworkflow_lint.passed) > 0
Expand Down

0 comments on commit b41e64c

Please sign in to comment.