File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 4141except ImportError :
4242 from flowcraft .templates .flowcraft_utils .flowcraft_base import get_logger , \
4343 MainWrapper
44-
44+
4545logger = get_logger (__file__ )
4646
4747
Original file line number Diff line number Diff line change 33import pytest
44import flowcraft .templates .pATLAS_consensus_json as pATLAS_consensus_json
55
6- # the expected result from loading the dictionary in the generated file
7- expected_dict = {"ACC1" :
8- {"/tmp/pytest-of-tiago/pytest-1/test_generated_dict0/"
9- "mash_file.txt" : ["0.9" , "1" ],
10- "/tmp/pytest-of-tiago/pytest-1/test_generated_dict0/"
11- "test_depth_file.txt" : 0.9 }
12- }
13-
146
157@pytest .fixture
168def fetch_file (tmpdir , request ):
@@ -60,7 +52,7 @@ def test_generated_dict_contents1(fetch_file):
6052 Checks if accession in both expected and result dict is the same
6153 """
6254 result_dict = fetch_file
63- assert list (result_dict .keys ())[0 ] == list ( expected_dict . keys ())[ 0 ]
55+ assert list (result_dict .keys ())[0 ] == "ACC1"
6456
6557
6658def test_generated_dict_contents2 (fetch_file ):
You can’t perform that action at this time.
0 commit comments