beets/test/plugins
Šarūnas Nejus 3be4a89aee
refactor: convert _types from class attributes to cached properties
Convert static _types dictionaries to dynamic cached class properties to
enable proper plugin type inheritance and avoid mutating shared state.

Key changes:
- Replace static _types dicts with @cached_classproperty decorators
- Update cached_classproperty to support proper caching with class names
- Remove manual _types mutation in plugin loading/unloading
- Add pluginload event and cache clearing for proper plugin integration
- Fix test to trigger type checking during item creation

This ensures plugin types are properly inherited through the class
hierarchy and eliminates issues with shared mutable state between
test runs.
2025-07-16 14:45:25 +01:00
..
__init__.py
lyrics_pages.py
test_acousticbrainz.py
test_advancedrewrite.py
test_albumtypes.py
test_art.py
test_aura.py
test_autobpm.py
test_bareasc.py Reformat the codebase 2024-09-21 11:57:48 +01:00
test_beatport.py
test_bpd.py Rename test_player -> test_bpd 2025-07-16 14:06:35 +01:00
test_bucket.py
test_convert.py
test_discogs.py
test_edit.py Replace assertCount 2025-07-09 09:21:51 +01:00
test_embedart.py
test_embyupdate.py
test_export.py
test_fetchart.py
test_filefilter.py
test_ftintitle.py
test_hook.py
test_ihate.py
test_importadded.py
test_importfeeds.py
test_info.py
test_ipfs.py
test_keyfinder.py
test_lastgenre.py
test_limit.py
test_lyrics.py
test_mbsubmit.py
test_mbsync.py
test_mpdstats.py
test_musicbrainz.py
test_parentwork.py Introduce integration_test marker and update testing docs 2024-09-21 13:26:05 +01:00
test_permissions.py
test_play.py
test_playlist.py
test_plexupdate.py Replace assertEqual 2024-08-12 08:43:42 +01:00
test_plugin_mediafield.py
test_random.py
test_replace.py Feat: Add replace plugin (#5644) 2025-05-27 00:17:52 +02:00
test_replaygain.py
test_scrub.py
test_smartplaylist.py
test_spotify.py Fix: Spotify plugin unable to recognize Chinese and Japanese albums. (#5705) 2025-07-01 11:08:54 +02:00
test_subsonicupdate.py
test_substitute.py
test_the.py
test_thumbnails.py Remove no-op decargs 2025-07-08 11:37:33 +01:00
test_types_plugin.py
test_web.py Replace assertCountEqual 2024-08-12 08:43:43 +01:00
test_zero.py Update CI config, minimum ruff version, docs and add changelog note 2024-12-10 06:10:03 +00:00