beets/test
Šarūnas Nejus 5785522170
fetchart: defer file removal config option evaluation (#5244)
Defer the evaluation of the source file removal options (`import.delete`
and `import.move`) to the point where the fetchart plugin is actually
called instead of only evaluating those configuration options on plugin
initialization.
This is to allow other plugins (such as the
[ytimport](https://github.com/mgoltzsche/beets-ytimport/blob/v1.8.1/beetsplug/ytimport/__init__.py#L194)
plugin) to invoke the import directly (within the same python process;
implicitly invoking the fetchart plugin) with temporarily overwritten
configuration options.

Addresses
https://github.com/beetbox/beets/issues/5167#issuecomment-2106465172
2024-09-16 11:44:46 +01:00
..
plugins fetchart: defer file removal config option evaluation (#5244) 2024-09-16 11:44:46 +01:00
rsrc Add test for lyrics 2024-07-11 15:15:25 +10:00
__init__.py Remove unused imports 2021-08-26 20:59:48 +10:00
test_art_resize.py Replace assertLess and assertLessEqual 2024-08-12 08:43:43 +01:00
test_autotag.py Use f-string syntax 2024-08-16 17:47:23 +01:00
test_config_command.py Replace assertRaises 2024-08-12 08:43:42 +01:00
test_datequery.py Replace assertRaises 2024-08-12 08:43:42 +01:00
test_dbcore.py Replace assertGreater and assertGreaterEqual 2024-08-12 08:43:43 +01:00
test_files.py Clarify test_unsuccessful_reflink error message 2024-09-05 04:32:13 +01:00
test_hidden.py Replace assertTrue 2024-08-05 17:11:16 +01:00
test_importer.py Handle missing reflink dependency in tests 2024-09-04 19:06:55 +01:00
test_library.py Create a new template function: capitalize 2024-09-05 23:00:50 -03:00
test_logging.py Replace assertIsInstance 2024-08-12 08:43:42 +01:00
test_m3ufile.py Replace assertRaises 2024-08-12 08:43:42 +01:00
test_mb.py Make this test ignore my local beets config 2024-08-12 08:49:30 +01:00
test_metasync.py Replace assertEqual 2024-08-12 08:43:42 +01:00
test_pipeline.py Replace assertRaises 2024-08-12 08:43:42 +01:00
test_plugins.py Use f-string syntax 2024-08-16 17:47:23 +01:00
test_query.py Use f-string syntax 2024-08-16 17:47:23 +01:00
test_sort.py Replace assertGreater and assertGreaterEqual 2024-08-12 08:43:43 +01:00
test_template.py Use f-string syntax 2024-08-16 17:47:23 +01:00
test_ui.py Replace assertGreater and assertGreaterEqual 2024-08-12 08:43:43 +01:00
test_ui_commands.py Replace assertRaises 2024-08-12 08:43:42 +01:00
test_ui_importer.py Remove def suite TestLoader definitions 2024-07-28 18:58:51 +01:00
test_ui_init.py Replace assertEqual 2024-08-12 08:43:42 +01:00
test_util.py Replace assertRaises 2024-08-12 08:43:42 +01:00
test_vfs.py Replace assertEqual 2024-08-12 08:43:42 +01:00
testall.py Remove def suite TestLoader definitions 2024-07-28 18:58:51 +01:00