From 74c1387123f8bd81d41b9d13f55d6f891f90ce20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Juri=C4=8D?= <499542@mail.muni.cz> Date: Wed, 13 Sep 2023 13:26:32 +0200 Subject: [PATCH] Test with tmpdir in MAPPING --- tests/test_get_library_type.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_get_library_type.py b/tests/test_get_library_type.py index ffbd7687..fd557905 100644 --- a/tests/test_get_library_type.py +++ b/tests/test_get_library_type.py @@ -121,6 +121,7 @@ def test_evaluate_mate_relationship_not_mates(self, tmpdir): CONFIG.args.tmp_dir = tmpdir MAPPING.paths = (FILE_IDS_NOT_MATCH_1, FILE_MATE_2) MAPPING.transcripts_file = FILE_TRANSCRIPTS + MAPPING.tmp_dir =tmpdir test_instance = GetLibType(config=CONFIG, mapping=MAPPING) test_instance.results.file_1 = StatesType.first_mate @@ -139,6 +140,7 @@ def test_evaluate_split_mates_not_matching_ids(self, tmpdir): CONFIG.args.path_2_processed = FILE_IDS_NOT_MATCH_2 CONFIG.args.tmp_dir = tmpdir MAPPING.paths = (FILE_IDS_NOT_MATCH_1, FILE_IDS_NOT_MATCH_2) + MAPPING.tmp_dir = tmpdir test_instance = GetLibType(config=CONFIG, mapping=MAPPING) test_instance.evaluate()