aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-02 13:04:03 +0300
committerFrederick Muriuki Muriithi2022-05-02 13:04:03 +0300
commitfcade690de59249a2789c26e8f668f36f8f4e075 (patch)
tree73a9f8d40871e7942c4ae034eabf39855b6756ea /tests
parent5632dcab27058875de99d63cbd263acfa3a9a2d5 (diff)
downloadgn-uploader-fcade690de59249a2789c26e8f668f36f8f4e075.tar.gz
Optimise strain names parsing
- Use a way faster way of parsing the strains file
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index f79166d..6ef5374 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -2,9 +2,9 @@
import pytest
-from quality_control.parsing import strain_names, parse_strains
+from quality_control.parsing import strain_names
@pytest.fixture(scope="session")
def strains():
"""Parse the strains once every test session"""
- return strain_names(parse_strains("strains.csv"))
+ return strain_names("etc/strains.csv")