Commit 3f7623d5 authored by Jeremy Mathews's avatar Jeremy Mathews
Browse files

fix output file check to astrocyte output

parent 8e0a9468
Pipeline #4448 failed with stages
in 3 minutes and 28 seconds
...@@ -6,7 +6,7 @@ from io import StringIO ...@@ -6,7 +6,7 @@ from io import StringIO
import os import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/misc/checkDesignFile/*/' '/../output/misc/checkDesignFile/**/'
@pytest.mark.design @pytest.mark.design
def test_design(): def test_design():
......
...@@ -6,10 +6,10 @@ from io import StringIO ...@@ -6,10 +6,10 @@ from io import StringIO
import os import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/misc/fastqc/**/**/' '/../output/misc/fastqc/**/**/'
@pytest.mark.fastqc @pytest.mark.fastqc
def test_fastqc(): def test_fastqc():
fastqcs = glob.glob('/../../test/misc/fastqc/*/*/*fastqc.zip', recursive=True) fastqcs = glob.glob('/../output/misc/fastqc/*/*/*fastqc.zip', recursive=True)
for f in fastqcs: for f in fastqcs:
assert os.path.exists(os.path.join(test_output_path, f)) assert os.path.exists(os.path.join(test_output_path, f))
...@@ -7,10 +7,10 @@ import os ...@@ -7,10 +7,10 @@ import os
import glob import glob
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/mkfastq/**/outs/fastq_path/**/**/' '/../output/mkfastq/**/outs/fastq_path/**/**/'
@pytest.mark.mkfastq @pytest.mark.mkfastq
def test_mkfastq(): def test_mkfastq():
fastqcs = glob.glob('/../../test/mkfastq/*/outs/fastq_path/*/*/*.fastq.gz', recursive=True) fastqcs = glob.glob('/../output/mkfastq/*/outs/fastq_path/*/*/*.fastq.gz', recursive=True)
for f in fastqcs: for f in fastqcs:
assert os.path.exists(os.path.join(test_output_path, f)) assert os.path.exists(os.path.join(test_output_path, f))
...@@ -6,7 +6,7 @@ from io import StringIO ...@@ -6,7 +6,7 @@ from io import StringIO
import os import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/multiqc/**/' '/../output/multiqc/**/'
@pytest.mark.multiqc @pytest.mark.multiqc
def test_multiqc(): def test_multiqc():
......
...@@ -6,7 +6,7 @@ from io import StringIO ...@@ -6,7 +6,7 @@ from io import StringIO
import os import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/untarBCL/**/' '/../output/untarBCL/**/'
@pytest.mark.untarBCL @pytest.mark.untarBCL
def test_untarBCL(): def test_untarBCL():
......
...@@ -6,7 +6,7 @@ from io import StringIO ...@@ -6,7 +6,7 @@ from io import StringIO
import os import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/misc/versions/**/' '/../output/misc/versions/**/'
@pytest.mark.versions @pytest.mark.versions
def test_versions(): def test_versions():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment