Šarūnas Nejus
439a7fa75d
discogs: Refactor _coalesce_tracks to make use of various tracks type_
2026-07-16 11:57:10 +01:00
Šarūnas Nejus
8867848612
discogs: Add descriptions of each possible Tracks
2026-07-16 11:57:10 +01:00
Šarūnas Nejus
c46f6a549b
discogs: Dedupe test_strip_disambiguation
2026-07-16 11:51:32 +01:00
Šarūnas Nejus
bbb1b5c1ef
discogs: And now add full _coalesce_tracks coverage
2026-07-16 11:51:32 +01:00
Šarūnas Nejus
bd9c753b99
discogs: Test index_tracks behaviour
2026-07-16 11:51:32 +01:00
Šarūnas Nejus
b8f43e994a
discogs: Test inherited track group artist
2026-07-16 11:51:31 +01:00
Šarūnas Nejus
bc0591fdb6
discogs: Consolidate test_parse_tracklist_subtracks... tests
2026-07-16 11:50:58 +01:00
Šarūnas Nejus
1343d613d3
discogs: Move test_parse_tracklist_positions... under TestTracklist
2026-07-16 11:50:58 +01:00
Šarūnas Nejus
951af6d3e8
discogs: Use a single global fixture to kill DiscogsPlugin.setup
2026-07-16 11:50:58 +01:00
Šarūnas Nejus
a126a3aaa3
discogs: Use Release instead of Bag in tests
2026-07-16 11:50:58 +01:00
Šarūnas Nejus
69cdd58240
discogs: remove redundant check for required fields
2026-07-16 11:50:58 +01:00
Šarūnas Nejus
230bf19c7f
Remove redundant test logic exposed by full coverage
...
- Removing the coverage omit configuration exposed unused branches, helpers, and
fixtures across the test suite.
- Delete that redundant logic and simplify affected tests while preserving their
behavior.
2026-07-07 15:57:35 +01:00
Sebastian Mohr
54a2bd20e1
Removed This file is part of beets... headers.
2026-06-29 11:20:15 +02:00
Šarūnas Nejus
e5ed730742
Remove overly long parametrize names
...
I've been seeing Codecov errors when attempting to submit our test
results in the CI. I investigated and found that it has a limit on test
name length. I found that the full parametrized name of
`test_parse_featured_artists` had been failing all our test results
uploads.
When IDs are not defined in `pytest.mark.parametrize` test cases, pytest
uses the entire parameter definition as its name.
Therefore:
- Remove parametrisation from discogs tests where we have a single test
case each.
- Define IDs in test_get_genre.
2026-06-06 10:11:02 +01:00
Šarūnas Nejus
7bad226c33
Add setup fixture to TestHelper
2026-06-03 18:00:46 +01:00
Sebastian Mohr
adfb73b66d
Run ruff format
2026-05-20 16:53:06 +02:00
Sebastian Mohr
d6245835f2
test_discogs: Removed capture_log in favor for pytest caplog
2026-04-30 19:56:31 +02:00
Šarūnas Nejus
556780ea7e
Keep unique ft artists
2026-04-25 16:04:58 +01:00
Šarūnas Nejus
9ee86d0e78
Add a test to repro the issue
2026-04-25 15:45:52 +01:00
Šarūnas Nejus
fb72e11f33
Add tests
2026-04-16 09:02:29 +01:00
Šarūnas Nejus
1434979ba0
Fetch remixers, composers, arrangers and lyricists from Discogs
2026-04-16 09:02:07 +01:00
Šarūnas Nejus
597d5c162a
discogs: swap style and genre
2026-04-06 16:40:33 +01:00
john doe
acda1755c0
Update test/plugins/test_discogs.py
...
Co-authored-by: Šarūnas Nejus <snejus@protonmail.com >
2026-03-13 00:25:39 +00:00
Jack
59b636ac8c
CI: install discogs extra so discogs tests run; remove skip logic
2026-03-13 00:25:39 +00:00
Jack
da32d64599
Fix module-level skip: use pytest.skip(allow_module_level=True) for discogs
2026-03-13 00:25:39 +00:00
Jack
04e5d0083d
CI: skip discogs tests when discogs_client missing, guard empty items, reset config in test
2026-03-13 00:25:39 +00:00
jdoe29103
809744e8f4
Fix test class structure: move DGSearchQueryTest after DGAlbumInfoTest
2026-03-13 00:25:39 +00:00
jdoe29103
0d8d3bfadf
Add discogs.extra_tags and updated documentation
2026-03-13 00:25:39 +00:00
dunkla
36a30b3c65
Implement automatic database-level genre migration
...
- Add Library._make_table() override to automatically migrate genres when database schema is updated
- Migration splits comma/semicolon/slash-separated genre strings into genres list
- Writes changes to both database and media files with progress reporting
- Remove lazy migration from correct_list_fields() - now handled at database level
- Remove migration-specific tests (migration is now automatic, not lazy)
- Update changelog to reflect automatic migration behavior
Related PR review comment changes:
- Replace _is_valid with _filter_valid method in lastgenre plugin
- Use unique_list and remove genre field from Beatport plugin
- Simplify LastGenre tests - remove separator logic
- Document separator deprecation in lastgenre plugin
- Add deprecation warning for genre parameter in Info.__init__()
2026-02-27 18:24:54 +00:00
Henry
ff95ce5d20
Remove utils, rework from_plugin method in ArtistState to from_config
2026-01-19 12:43:30 -08:00
Šarūnas Nejus
7d83a68bdd
Ensure all fields in artist dicts in tests
2026-01-19 12:43:30 -08:00
Šarūnas Nejus
b3183a73e0
Simplify building artist
2026-01-19 12:43:30 -08:00
Šarūnas Nejus
59e7c59172
Move building logic to dataclasses
2026-01-19 12:43:30 -08:00
Henry Oberholtzer
2d406a3ca5
Add comments, clean up types.
2026-01-19 12:43:30 -08:00
Henry
459fd39768
Fix behavior when ANV does not exist
2026-01-19 12:43:30 -08:00
Henry Oberholtzer
08a2c248b9
Fix handling of commas and semicolons in artist join
2026-01-19 12:43:30 -08:00
Henry
f0aef6e213
Cleanup for #6177 , #6068
2026-01-19 12:43:27 -08:00
Henry
1d6e05709e
Fix #6068 - Multivalue fields are now supported & tested.
2026-01-19 12:41:36 -08:00
Henry
9efe87101c
Fix #6177 , remove derived types, refactor coalesce tracks
2026-01-19 12:40:42 -08:00
Henry
f5acdec2b1
Update configuration format.
2025-10-03 14:44:22 -07:00
Henry
c44c535b22
Fully parametrize testing
2025-09-28 10:49:56 -07:00
Henry
b1903417f4
Add artist credit support, artist name variation support, more flexible featured credit.
2025-09-27 14:29:25 -07:00
Henry
dd57c0da2d
improve flexibility of use of anv on artist tracks
2025-09-27 10:42:29 -07:00
Henry
1e677d57c1
Updates to documentation
2025-09-26 21:37:18 -07:00
Henry
0ec6689395
test updates, one case still failing
2025-09-26 17:56:25 -07:00
Henry
5a43d6add4
Testing and implemented anv method, also added Featuring customizable string
2025-09-26 16:01:33 -07:00
Henry
533aa6379b
Test working, need to implement anv now
2025-09-25 22:38:02 -07:00
Henry Oberholtzer
9c8172be12
Write initial ANV test
2025-09-26 01:55:28 +02:00
Henry
b61306ea0d
Fixes, test improvement, rebase to master
2025-09-25 08:39:38 -07:00
Henry
43f2d423fa
testing, updated changelog
2025-09-25 08:19:46 -07:00