From 682b7b24b84c9d8614cf898a06f67681db222deb Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Fri, 17 Nov 2023 16:42:10 -0800 Subject: Cache site connections for reuse in batch downloads --- tests/test_dl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_dl.py') diff --git a/tests/test_dl.py b/tests/test_dl.py index a15f397..1099ced 100644 --- a/tests/test_dl.py +++ b/tests/test_dl.py @@ -227,12 +227,12 @@ class TestBatchDownload: assert caplog.record_tuples[1] == ( "wikiget.dl", logging.DEBUG, - "Made a new site connection", + "Making a new connection to commons.wikimedia.org", ) assert caplog.record_tuples[3] == ( "wikiget.dl", logging.DEBUG, - "Reused an existing site connection", + "Reusing the existing connection to commons.wikimedia.org", ) @patch("wikiget.dl.read_batch_file") -- cgit v1.2.3