diff options
| author | Cody Logan <cody@lokken.dev> | 2023-11-17 16:42:10 -0800 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-11-17 16:42:10 -0800 |
| commit | 682b7b24b84c9d8614cf898a06f67681db222deb (patch) | |
| tree | c862973f97e7bf928e93c0aa1125f60df182a301 /tests | |
| parent | 60ecb1990f4efc07d596182f38953e8a50c1a726 (diff) | |
| download | wikiget-682b7b24b84c9d8614cf898a06f67681db222deb.tar.gz wikiget-682b7b24b84c9d8614cf898a06f67681db222deb.zip | |
Cache site connections for reuse in batch downloads
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_dl.py | 4 |
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") |
