aboutsummaryrefslogtreecommitdiff
path: root/tests/test_dl.py
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-11-17 16:42:10 -0800
committerCody Logan <cody@lokken.dev>2023-11-17 16:42:10 -0800
commit682b7b24b84c9d8614cf898a06f67681db222deb (patch)
treec862973f97e7bf928e93c0aa1125f60df182a301 /tests/test_dl.py
parent60ecb1990f4efc07d596182f38953e8a50c1a726 (diff)
downloadwikiget-682b7b24b84c9d8614cf898a06f67681db222deb.tar.gz
wikiget-682b7b24b84c9d8614cf898a06f67681db222deb.zip
Cache site connections for reuse in batch downloads
Diffstat (limited to 'tests/test_dl.py')
-rw-r--r--tests/test_dl.py4
1 files changed, 2 insertions, 2 deletions
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")