diff --git a/tests/test_tax.py b/tests/test_tax.py index fbcd097b2a..a546947449 100644 --- a/tests/test_tax.py +++ b/tests/test_tax.py @@ -2107,7 +2107,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") @@ -2191,8 +2191,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] @@ -2208,7 +2213,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