Skip to content
Snippets Groups Projects

Update tests.

Merged Venkat Malladi requested to merge 37-fix_tests into master
Compare and
2 files
+ 1
33
Preferences
File browser
Compare changes
@@ -12,26 +12,3 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@@ -12,26 +12,3 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@pytest.mark.singleend
@pytest.mark.singleend
def test_software_references():
def test_software_references():
assert os.path.exists(os.path.join(test_output_path, 'software_references_mqc.txt'))
assert os.path.exists(os.path.join(test_output_path, 'software_references_mqc.txt'))
@pytest.mark.singleend
def test_software_versions():
assert os.path.exists(os.path.join(test_output_path, 'software_versions_mqc.yaml'))
@pytest.mark.singleend
def test_software_versions_output():
software_versions = os.path.join(test_output_path, 'software_versions_mqc.yaml')
with open(software_versions, 'r') as stream:
data_loaded = yaml.load(stream)
assert len(data_loaded['data'].split('<dt>')) == 15
@pytest.mark.singleskip_true
def test_software_versions_output_rep():
software_versions = os.path.join(test_output_path, 'software_versions_mqc.yaml')
with open(software_versions, 'r') as stream:
data_loaded = yaml.load(stream)
assert len(data_loaded['data'].split('<dt>')) == 13