Skip to content

Commit

Permalink
'fix' tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikDanielsson committed Jul 7, 2021
1 parent a8dd99d commit b2e0236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/modules/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def test_modules_install_nomodule(self):
def test_modules_install_trimgalore(self):
"""Test installing a module - TrimGalore!"""
assert self.mods_install.install("trimgalore") is not False
module_path = os.path.join(self.mods_install.dir, "modules", "nf-core", "software", "trimgalore")
module_path = os.path.join(self.mods_install.dir, "modules", "nf-core", "modules", "trimgalore")
assert os.path.exists(module_path)


def test_modules_install_trimgalore_alternative_source(self):
"""Test installing a module from a different source repository - TrimGalore!"""
assert self.mods_install_alt.install("trimgalore") is not False
module_path = os.path.join(self.mods_install.dir, "modules", "external", "trimgalore")
module_path = os.path.join(self.mods_install.dir, "modules", "ewels", "nf-core-modules", "trimgalore")
assert os.path.exists(module_path)


Expand Down

0 comments on commit b2e0236

Please sign in to comment.