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

remove wildcards from all paths

parent 908ca9d8
2 merge requests!41Develop,!40Resolve "Add pytest to CI"
Pipeline #4458 failed with stages
in 3 minutes and 47 seconds
This commit is part of merge request !40. Comments created here will be created in the context of that merge request.
......@@ -6,10 +6,8 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/misc/fastqc/**/**/'
'/../output/misc/fastqc/run/cellranger-tiny-bcl-1_2_0/'
@pytest.mark.fastqc
def test_fastqc():
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))
assert os.path.exists(test_output_path)
......@@ -7,10 +7,8 @@ import os
import glob
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/mkfastq/**/outs/fastq_path/**/**/'
'/../output/mkfastq/cellranger-tiny-bcl-1_2_0/outs/'
@pytest.mark.mkfastq
def test_mkfastq():
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))
assert os.path.exists(test_output_path)
......@@ -6,7 +6,7 @@ from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../output/multiqc/**/'
'/../output/multiqc/run/'
@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__)) + \
'/../output/untarBCL/**/'
'/../output/untarBCL/cellranger-tiny-bcl-1_2_0/'
@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__)) + \
'/../output/misc/versions/**/'
'/../output/misc/versions/run/'
@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