diff --git a/workflow/tests/test_trim_reads.py b/workflow/tests/test_trim_reads.py index 92f4716b21ac7ad3cde599ee08edf34f095e70e6..f75924527b187ba4634c8cd55e2d2c3fdb6c30c9 100644 --- a/workflow/tests/test_trim_reads.py +++ b/workflow/tests/test_trim_reads.py @@ -23,5 +23,11 @@ def test_trim_reads_singleend(): @pytest.mark.integration def test_trim_reads_pairedend(): - # Do the same thing for paired end data - pass + raw_fastq = test_data_path + 'ENCFF582IOZ.fastq.gz' + trimmed_fastq = test_output_path + ' ENCFF582IOZ_val_2.fq.gz' + trimmed_fastq_report = test_output_path + \ + 'ENCFF582IOZ.fastq.gz_trimming_report.txt' + assert os.path.getsize(raw_fastq) != os.path.getsize(trimmed_fastq) + assert os.path.getsize(trimmed_fastq) == 2229312710 + assert 'Trimming mode: paired-end' in open(trimmed_fastq_report).readlines()[4] +