1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00
gallery-dl/test
Mike Fährmann 590c0b3ad5
re-implement and improve filename formatter
A format string now gets parsed only once instead of re-parsing it each
time it is applied to a set of data.

The initial parsing causes directory path creation to be at about 2x
slower than before, since each format string there is used only once,
but building a filename, the more common operation, is at least 2x
faster. The "directory slowness" cancels at about 5 filenames and
everything above that is significantly faster.
2018-08-25 10:45:14 +02:00
..
__init__.py add tests for text-module 2015-10-03 14:51:13 +02:00
test_config.py change config specifiers in input file format 2018-02-16 03:10:41 +01:00
test_cookies.py [batoto] remove module 2018-01-23 21:37:32 +01:00
test_downloader.py fix downloader tests 2018-06-07 22:27:36 +02:00
test_extractor.py [test:extractor] small fixes and improvements 2018-08-15 21:49:33 +02:00
test_oauth.py change OAuth test server 2018-06-28 14:32:02 +02:00
test_results.py update/restore tests 2018-08-23 15:47:40 +02:00
test_text.py implement text.split_html() 2018-05-27 15:00:41 +02:00
test_util.py re-implement and improve filename formatter 2018-08-25 10:45:14 +02:00