mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
This PR refactors the test codebase by removing redundant functions and simplifying item and album creation. Key changes include: - Removed redundant `_item_ident` index tracker from `_common.py`. - Removed `album` function from `_common.py` replacing it with direct `library.Album` invocations. - Removed `generate_album_info` and `generate_track_info` functions, replacing them directly with `TrackInfo` and `AlbumInfo`. - Updated `setup.cfg` to exclude test helper files from coverage reports. - Adjusted the tests regarding the changes, and simplified `test_mbsync.py`. |
||
|---|---|---|
| .. | ||
| plugins | ||
| rsrc | ||
| __init__.py | ||
| conftest.py | ||
| test_art_resize.py | ||
| test_autotag.py | ||
| test_config_command.py | ||
| test_datequery.py | ||
| test_dbcore.py | ||
| test_files.py | ||
| test_hidden.py | ||
| test_importer.py | ||
| test_library.py | ||
| test_logging.py | ||
| test_m3ufile.py | ||
| test_mb.py | ||
| test_metasync.py | ||
| test_pipeline.py | ||
| test_plugins.py | ||
| test_query.py | ||
| test_sort.py | ||
| test_template.py | ||
| test_ui.py | ||
| test_ui_commands.py | ||
| test_ui_importer.py | ||
| test_ui_init.py | ||
| test_util.py | ||
| test_vfs.py | ||
| testall.py | ||