diff --git a/test/test_integration.py b/test/test_integration.py index 2fbd8e33..687143dd 100755 --- a/test/test_integration.py +++ b/test/test_integration.py @@ -96,12 +96,12 @@ def test_short_read_recovery(self): self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/data/final_contigs.fasta")) self.assertTrue(os.path.islink(f"{output_dir}/aviary_out/assembly/final_contigs.fasta")) - self.assertTrue(os.path.islink(f"{output_dir}/aviary_out/diversity/singlem_out")) - self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_out/metagenome.combined_otu_table.csv")) - self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/singlem_out/metagenome.combined_otu_table.csv") > 0) - self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_out/singlem_appraisal.tsv")) - self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/singlem_out/singlem_appraisal.tsv") > 0) - self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_out/singlem_appraise.svg")) + self.assertTrue(os.path.islink(f"{output_dir}/aviary_out/diversity")) + self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/metagenome.combined_otu_table.csv")) + self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/metagenome.combined_otu_table.csv") > 0) + self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_appraisal.tsv")) + self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/singlem_appraisal.tsv") > 0) + self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_appraise.svg")) def test_long_read_recovery(self): output_dir = os.path.join("example", "test_long_read_recovery") @@ -123,12 +123,12 @@ def test_long_read_recovery(self): self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/data/final_contigs.fasta")) self.assertTrue(os.path.islink(f"{output_dir}/aviary_out/assembly/final_contigs.fasta")) - self.assertTrue(os.path.islink(f"{output_dir}/aviary_out/diversity/singlem_out")) - self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_out/metagenome.combined_otu_table.csv")) - self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/singlem_out/metagenome.combined_otu_table.csv") > 0) - self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_out/singlem_appraisal.tsv")) - self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/singlem_out/singlem_appraisal.tsv") > 0) - self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_out/singlem_appraise.svg")) + self.assertTrue(os.path.islink(f"{output_dir}/aviary_out/diversity")) + self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/metagenome.combined_otu_table.csv")) + self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/metagenome.combined_otu_table.csv") > 0) + self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_appraisal.tsv")) + self.assertTrue(os.path.getsize(f"{output_dir}/aviary_out/diversity/singlem_appraisal.tsv") > 0) + self.assertTrue(os.path.isfile(f"{output_dir}/aviary_out/diversity/singlem_appraise.svg")) def test_short_read_recovery_fast(self): output_dir = os.path.join("example", "test_short_read_recovery_fast")