Commit Graph

8 Commits

Author SHA1 Message Date
Philipp Wolfer
fb83a8e76b Enable flake8 E265: Block comment should start with '# '
Most changes involve replacing non-breaking space with a simple space after the #.
2020-05-13 11:03:13 +02:00
Laurent Monin
053f57666a _CAA_THUMBNAIL_SIZE_MAP: use '500' instead of historical 'large' for thumbnail URLs 2020-03-05 15:49:20 +01:00
Laurent Monin
9c261325fe _CAA_THUMBNAIL_SIZE_MAP: use '250' instead of historical 'small' for thumbnail URLs 2020-03-05 15:46:56 +01:00
Laurent Monin
2529d98151 caa_url_fallback_list(): add support for size aliases
It makes it more future-proof, and we'll let us use 500 and 250 instead of historical large and small
Add/modify related tests
2020-03-05 15:43:12 +01:00
Laurent Monin
4892309e95 test_caa_url_fallback_list(): add few explanations 2020-03-05 15:32:54 +01:00
Laurent Monin
ac84aba3a2 test_caa_url_fallback_list(): Improve assertion error message 2020-03-05 15:31:22 +01:00
Laurent Monin
1ee61dd4a7 caa_url_fallback_list() test: assert TypeError exceptions in case of bad args 2020-03-05 15:07:20 +01:00
Laurent Monin
2507644eca Test picard.coverart.providers.caa.caa_url_fallback_list() 2020-03-05 14:59:15 +01:00