From e8c82021c7627e56ccb36d50eedd10e1772e5773 Mon Sep 17 00:00:00 2001 From: Liz Gehret Date: Tue, 8 Oct 2024 11:52:35 -0700 Subject: [PATCH] TEST: fixes test failure due to updated GH runner log formatting --- rescript/tests/test_ncbi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rescript/tests/test_ncbi.py b/rescript/tests/test_ncbi.py index c3ceb540..eb913954 100644 --- a/rescript/tests/test_ncbi.py +++ b/rescript/tests/test_ncbi.py @@ -237,7 +237,7 @@ def test_ncbi_fails(self): 'k__Fungi; p__Basidiomycota; c__Agaricomycetes; ' 'o__Boletales; f__Boletaceae; g__Boletus; s__edulis' ) - self.assertTrue('Retrying' in log.output[0]) + self.assertTrue('Retrying' in '\n'.join(log.output[:3])) def test_get_ncbi_dirty_tricks(self): with self.assertLogs(level='WARNING') as log: