Skip to content

Commit

Permalink
add a tabix tabix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nvnieuwk committed Sep 5, 2024
1 parent 05c238e commit b6e19d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/modules/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ def test_modules_lint_trimgalore(self):
assert len(module_lint.passed) > 0
assert len(module_lint.warned) >= 0

def test_modules_lint_tabix_tabix(self):
"""Test linting the tabix/tabix module"""
self.mods_install.install("tabix/tabix")
module_lint = nf_core.modules.lint.ModuleLint(directory=self.pipeline_dir)
module_lint.lint(print_results=False, module="tabix/tabix")
assert len(module_lint.failed) == 0, f"Linting failed with {[x.__dict__ for x in module_lint.failed]}"
assert len(module_lint.passed) > 0
assert len(module_lint.warned) >= 0

def test_modules_lint_empty(self):
"""Test linting a pipeline with no modules installed"""
self.mods_remove.remove("fastqc", force=True)
Expand Down

0 comments on commit b6e19d8

Please sign in to comment.