diff --git a/tests/test_tax.py b/tests/test_tax.py index 92f9840e44..6d5becf346 100644 --- a/tests/test_tax.py +++ b/tests/test_tax.py @@ -1979,7 +1979,7 @@ def test_metagenome_two_queries_with_single_query_output_formats_fail(runtmp): line = line.replace("test1", "test2") + "\n" fp.write(line) - csv_summary_out = runtmp.output("tst.summarized.csv") + runtmp.output("tst.summarized.csv") bioboxes_out = runtmp.output("tst.bioboxes.out") kreport_out = runtmp.output("tst.kreport.txt") @@ -2063,8 +2063,13 @@ def test_metagenome_two_queries_skip_single_query_output_formats(runtmp): in c.last_result.err ) - assert f"saving 'csv_summary' output to '{os.path.basename(csv_summary_out)}'" in runtmp.last_result.err - sum_gather_results = [x.rstrip() for x in Path(csv_summary_out).read_text().splitlines()] + assert ( + f"saving 'csv_summary' output to '{os.path.basename(csv_summary_out)}'" + in runtmp.last_result.err + ) + sum_gather_results = [ + x.rstrip() for x in Path(csv_summary_out).read_text().splitlines() + ] assert ( "query_name,rank,fraction,lineage,query_md5,query_filename,f_weighted_at_rank,bp_match_at_rank" in sum_gather_results[0] @@ -2080,7 +2085,6 @@ def test_metagenome_two_queries_skip_single_query_output_formats(runtmp): ) - def test_metagenome_two_queries_krona(runtmp): # for now, we enable multi-query krona. Is this desired? c = runtmp