Commit Graph

3560 Commits

Author SHA1 Message Date
Šarūnas Nejus
90099f128d Merge branch 'master' into fix-mpdstats-cli-host 2026-06-04 06:03:48 +01:00
Šarūnas Nejus
5804a21620 Fix autobpm tests 2026-06-03 18:00:46 +01:00
Šarūnas Nejus
ca8544d4bc Fix ftintitle tests 2026-06-03 18:00:46 +01:00
Šarūnas Nejus
544ea3af5d Fix mbcollection tests 2026-06-03 18:00:46 +01:00
Šarūnas Nejus
7bad226c33 Add setup fixture to TestHelper 2026-06-03 18:00:46 +01:00
Šarūnas Nejus
fb9de7a619 lyrics: fix musica parsing 2026-06-03 15:42:19 +01:00
Šarūnas Nejus
29580d2f00 Import everything from parent beets.autotag 2026-06-02 08:57:35 +01:00
Sebastian Mohr
0c42b34c62 Added git blame ignore rev entry and formatting. 2026-06-01 19:41:51 +02:00
Sebastian Mohr
c6dc99f565 Remove i = with item = for consistency. 2026-06-01 19:41:51 +02:00
Sebastian Mohr
d226a930fe TestItemRead: Aligned with PytestItemHelper 2026-06-01 19:41:51 +02:00
Sebastian Mohr
be0eb1439b TestPathString: Use get_first_item helper function. Also consistency
renaming i -> item
2026-06-01 19:41:51 +02:00
Sebastian Mohr
c37ae7fe6e TestAlbumInfo: Renamed item fixture to item_in_album, should reflect intend
more closely.
2026-06-01 19:41:51 +02:00
Sebastian Mohr
50ca216881 Removed self.i in favor of more pytest like item and item_in_db fixtures. 2026-06-01 19:41:51 +02:00
Sebastian Mohr
fda0a68d35 Fixed teardown logic and removed unnecessary imports. 2026-06-01 19:41:51 +02:00
Sebastian Mohr
27f4092fdb TemplateTest -> TemplateTest 2026-06-01 19:41:51 +02:00
Sebastian Mohr
a7a789d9ee UnicodePathTest -> TestUnicodePath 2026-06-01 19:41:51 +02:00
Sebastian Mohr
31248cb813 ItemPruneDirsClutterTest -> TestItemPruneDirsClutter 2026-06-01 19:41:51 +02:00
Sebastian Mohr
870a236b53 FilesizeTest -> TestFilesize 2026-06-01 19:41:51 +02:00
Sebastian Mohr
69fdf15e9f WriteTest -> TestWrite, ItemReadTest -> TestItemRead, ItemReadGenreTest -> TestItemReadGenre 2026-06-01 19:41:51 +02:00
Sebastian Mohr
d67263408e ImportTimeTest -> TestImportTime 2026-06-01 19:41:51 +02:00
Sebastian Mohr
075b230266 MtimeTest -> TestMtime 2026-06-01 19:41:51 +02:00
Sebastian Mohr
2897df99a9 PathStringTest -> TestPathString 2026-06-01 19:41:51 +02:00
Sebastian Mohr
f91f6b849a ArtDestinationTest -> TestArtDestination 2026-06-01 19:41:51 +02:00
Sebastian Mohr
3dfbcb26e0 AlbumInfoTest -> TestAlbumInfo 2026-06-01 19:41:51 +02:00
Sebastian Mohr
6fc1d34c9a PluginDestinationTest -> TestPluginDestination 2026-06-01 19:41:51 +02:00
Sebastian Mohr
016445d851 SingletonDisambiguationTest -> TestSingletonDisambiguation 2026-06-01 19:41:51 +02:00
Sebastian Mohr
d3892b81e9 DisambiguationTest -> TestDisambiguation 2026-06-01 19:41:51 +02:00
Sebastian Mohr
3e967a93bf DestinationFunctionTest -> TestDestinationFunction 2026-06-01 19:41:51 +02:00
Sebastian Mohr
02bee3a468 ItemFormattedMappingTest -> TestItemFormattedMapping 2026-06-01 19:41:51 +02:00
Sebastian Mohr
c9249464cb ParseQueryTest -> TestParseQuery 2026-06-01 19:41:51 +02:00
Sebastian Mohr
733249912a DestinationTest -> TestDestination 2026-06-01 19:41:51 +02:00
Sebastian Mohr
eef0fefbd9 GetSetTest -> TestGetSet 2026-06-01 19:41:51 +02:00
Sebastian Mohr
b3ed48e1b5 RemoveTest -> TestRemove 2026-06-01 19:41:51 +02:00
Sebastian Mohr
a46bb52168 AddTest -> TestAdd:
Also PytestItemHelper for item fixture without db binding.
2026-06-01 19:41:51 +02:00
Sebastian Mohr
8368d0a6c1 StoreTest -> TestStore 2026-06-01 19:41:51 +02:00
Sebastian Mohr
9db2860877 LoadTest -> TestLoad:
Also introduced PytestItemInDBHelper for item fixture.
2026-06-01 19:41:51 +02:00
Tsuizxgo
cf7c5e4eb2 Fix mpdstats CLI option overrides 2026-06-01 23:57:07 +08:00
Alok Saboo
672addeff4 remove capture_log 2026-06-01 10:46:57 +02:00
Alok Saboo
b7b2449371 simplify test 2026-06-01 10:46:57 +02:00
Alok Saboo
a333b307e3 remove optional test 2026-06-01 10:46:57 +02:00
Alok Saboo
4b554e9697 Batch SQLite commits and follow write-before-store pattern 2026-06-01 10:46:57 +02:00
Šarūnas Nejus
893df40534 Merge branch 'master' into fix/fetchart-permission-error-graceful 2026-05-29 17:33:13 +01:00
David Logie
621a401226 Simplify test. 2026-05-29 17:25:00 +01:00
David Logie
9c51b5c109 PR feedback. 2026-05-29 17:25:00 +01:00
David Logie
785f8b7a5c Make aliases-as-credits functionality opt-in.
This feature was introduced in 2.10 but results a lot of data being
overwritten with (potentially) incorrect data the next time a user runs
`mbsync` over their library.

To make this less of a "breaking" change, make this feature opt-in. The
users who want this large change can enable the functionality.
2026-05-29 17:25:00 +01:00
terminalchai
3aa44c5039 fetchart: add test and changelog for OSError handling in _set_art 2026-05-29 16:49:17 +01:00
Martin Caspersen
c2f8c65193 style: apply ruff formatting to test 2026-05-29 16:54:23 +02:00
Martin Caspersen
bbf786da92 Merge branch 'master' into fix/browse-recordings-missing-aliases 2026-05-29 16:52:41 +02:00
Martin Caspersen
31e18b2c4c refactor(musicbrainz): use direct aliases access and improve browse test
Replace defensive .get("aliases", []) with recording["aliases"] now that
"aliases" is in BROWSE_INCLUDES. Swap the graceful-fallback test for one
that asserts aliases from browse results take priority over the track title.
2026-05-29 16:50:23 +02:00
Sebastian Mohr
40529f7905 Migrated test_plugins to use pytest instead of unittest cases. 2026-05-29 12:12:47 +02:00