Skip to content

Commit

Permalink
test: Use the same subworkflow in all test cases
Browse files Browse the repository at this point in the history
get_genome_annotation is not necessary, given we're using another
subworkflow for the other tests
  • Loading branch information
jvfe committed Nov 29, 2024
1 parent 111433b commit 6aca5a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/subworkflows/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ def test_subworkflows_install_different_branch_fail(self):

def test_subworkflows_install_across_organizations(self):
"""Test installing a subworkflow with modules from different organizations"""
# The get_genome_annotation subworkflow contains modules from different organizations
self.subworkflow_install_cross_org.install("get_genome_annotation")
# The fastq_trim_fastp_fastqc subworkflow contains modules from different organizations
self.subworkflow_install_cross_org.install("fastq_trim_fastp_fastqc")
# Verify that the installed_by entry was added correctly
modules_json = ModulesJson(self.pipeline_dir)
mod_json = modules_json.get_modules_json()
assert mod_json["repos"][CROSS_ORGANIZATION_URL]["modules"]["jvfe"]["wget"]["installed_by"] == [
"get_genome_annotation"
assert mod_json["repos"][CROSS_ORGANIZATION_URL]["modules"]["jvfe"]["fastqc"]["installed_by"] == [
"fastq_trim_fastp_fastqc"
]

def test_subworkflow_install_with_same_module(self):
Expand Down

0 comments on commit 6aca5a0

Please sign in to comment.