From 8954890bd7410d79ce151196f406b8e1b6985238 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 13 Apr 2022 15:11:17 +0300 Subject: Implement remaining file parsing tests * Implement remaining file parsing tests and some helpers functions needed for ensuring the tests work. --- tests/conftest.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/conftest.py (limited to 'tests/conftest.py') diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..0cdba3e --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,9 @@ +from functools import reduce + +import pytest + +from quality_control.parsing import strain_names, parse_strains + +@pytest.fixture(scope="session") +def strains(): + return strain_names(parse_strains("strains.csv")) -- cgit v1.2.3