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 f7383a56f8
wrap filters/conditionals in a try-except block
allows accessing undefined fields without exception or locals().get(…)
but hides mistakes/typos/etc by evaluating to False without feedback

performance loss compared to the previous version without try-except
is negligible (~20ns for me)
2024-07-12 22:51:11 +02:00
..
results [instagram][twitter] rename 'profile' to 'info' (#5262, #3623) 2024-07-11 00:22:39 +02:00
__init__.py add tests for text-module 2015-10-03 14:51:13 +02:00
test_cache.py [tests] '__main__' -> "__main__" 2024-02-27 02:10:05 +01:00
test_config.py consistent 'with open(…) as fp:' syntax 2024-06-14 01:22:00 +02:00
test_cookies.py consistent 'with open(…) as fp:' syntax 2024-06-14 01:22:00 +02:00
test_downloader.py consistent 'with open(…) as fp:' syntax 2024-06-14 01:22:00 +02:00
test_extractor.py remove extractor/test.py (#4504) 2024-02-27 01:37:57 +01:00
test_formatter.py [formatter] implement 'X' format specifier (#5770) 2024-06-21 20:56:19 +02:00
test_job.py remove 'contextlib' imports 2024-04-06 16:59:09 +02:00
test_oauth.py extend OAuth tests 2023-03-02 17:26:51 +01:00
test_output.py [tests] '__main__' -> "__main__" 2024-02-27 02:10:05 +01:00
test_postprocessor.py [tests] fix syntax for Python < 3.6 2024-07-06 18:39:59 +02:00
test_results.py [tests] completely ignore '#auth' for 'only_matching' tests 2024-07-11 00:20:10 +02:00
test_text.py handle URLs without '/' after their TLD (#5252) 2024-02-29 15:05:46 +01:00
test_util.py wrap filters/conditionals in a try-except block 2024-07-12 22:51:11 +02:00
test_ytdl.py [ytdl] improve --xff/--geo-bypass detection (#3989) 2023-05-01 18:26:37 +02:00