Skip to content
Snippets Groups Projects
Commit 3f7623d5 authored by Jeremy Mathews's avatar Jeremy Mathews
Browse files

fix output file check to astrocyte output

parent 8e0a9468
2 merge requests!41Develop,!40Resolve "Add pytest to CI"
Pipeline #4448 failed with stages
in 3 minutes and 28 seconds
This commit is part of merge request !40. Comments created here will be created in the context of that merge request.
......@@ -6,7 +6,7 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/misc/checkDesignFile/*/'
'/../output/misc/checkDesignFile/**/'
@pytest.mark.design
def test_design():
......
......@@ -6,10 +6,10 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/misc/fastqc/**/**/'
'/../output/misc/fastqc/**/**/'
@pytest.mark.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:
assert os.path.exists(os.path.join(test_output_path, f))
......@@ -7,10 +7,10 @@ import os
import glob
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/mkfastq/**/outs/fastq_path/**/**/'
'/../output/mkfastq/**/outs/fastq_path/**/**/'
@pytest.mark.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:
assert os.path.exists(os.path.join(test_output_path, f))
......@@ -6,7 +6,7 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/multiqc/**/'
'/../output/multiqc/**/'
@pytest.mark.multiqc
def test_multiqc():
......
......@@ -6,7 +6,7 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/untarBCL/**/'
'/../output/untarBCL/**/'
@pytest.mark.untarBCL
def test_untarBCL():
......
......@@ -6,7 +6,7 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../test/misc/versions/**/'
'/../output/misc/versions/**/'
@pytest.mark.versions
def test_versions():
......
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