Skip to content

Commit e8dc784

Browse files
committed
remove reduntant fixture
1 parent 6a7d9c8 commit e8dc784

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

tests/test_config.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,12 @@
11
#!/usr/bin/env python
2-
2+
import pytest
33
import collections
44
import collections.abc
55
import os
66
import pathlib
77

88
from microSALT import preset_config
99

10-
@pytest.fixture
11-
def exp_config():
12-
precon = {
13-
'slurm_header': {'time', 'threads', 'qos', 'job_prefix', 'project', 'type'},
14-
'regex': {'file_pattern', 'mail_recipient', 'verified_organisms'},
15-
'folders': {'results', 'reports', 'log_file', 'seqdata', 'profiles', 'references', 'resistances', 'genomes', 'expec', 'adapters', 'credentials'},
16-
'threshold': {'mlst_id', 'mlst_novel_id', 'mlst_span', 'motif_id', 'motif_span', 'total_reads_warn', 'total_reads_fail',
17-
'NTC_total_reads_warn', 'NTC_total_reads_fail', 'mapped_rate_warn', 'mapped_rate_fail', 'duplication_rate_warn',
18-
'duplication_rate_fail', 'insert_size_warn', 'insert_size_fail', 'average_coverage_warn', 'average_coverage_fail',
19-
'bp_10x_warn', 'bp_10x_fail', 'bp_30x_warn', 'bp_50x_warn', 'bp_100x_warn'},
20-
'database': {'SQLALCHEMY_DATABASE_URI', 'SQLALCHEMY_TRACK_MODIFICATIONS', 'DEBUG'},
21-
'genologics': {'baseuri', 'username', 'password'},
22-
'pubmlst': {'client_id', 'client_secret'},
23-
'pasteur': {'client_id', 'client_secret'},
24-
'singularity': {'binary', 'bind_paths', 'trimmomatic_adapters'},
25-
'containers': {'skesa', 'blast', 'bwa', 'samtools', 'picard', 'trimmomatic', 'quast'},
26-
'dry': True,
27-
}
28-
return precon
29-
3010
def test_existence(exp_config):
3111
"""Checks that the configuration contains certain key variables"""
3212
# level one

0 commit comments

Comments
 (0)