Skip to content
Snippets Groups Projects
Commit 18667028 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Add pytest for getData

parent 9e1a4c88
Branches
Tags
2 merge requests!37v0.0.1,!11Develop
Pipeline #5664 passed with stage
in 8 minutes and 19 seconds
#!/usr/bin/env python3
import pytest
import pandas as pd
from io import StringIO
import os
test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
'/../../Replicate_16-1ZX4/'
@pytest.mark.getData
def test_getData():
assert os.path.exists(os.path.join(test_output_path, 'bagit.txt'))
assert os.path.exists(os.path.join(test_output_path, 'data/assets/Study/16-1ZWP/Experiment/16-1ZWR/Replicate/16-1ZX4/3_1_single.R1.fastq.gz'))
\ No newline at end of file
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