Alok Saboo
4cd996cc0e
apply ruff formatting
2026-06-15 13:18:15 -04:00
Alok Saboo
4a0b2beeef
address reviewer comments: simplify _parse_popularity, fix flake8 E501
2026-06-15 13:00:59 -04:00
Alok Saboo
a6bf76b232
address reviewer comments: type _parse_popularity with attributes, add album popularity to sync
2026-06-15 11:38:12 -04:00
Alok Saboo
2f434b2b93
address reviewer comments
2026-06-15 09:45:35 -04:00
Alok Saboo
bed1f024b0
Fix tests and mypy error
...
- Use self.add_item() instead of self.lib.add_item() in tests
- Fix mypy: add isinstance(val, int) check in _popularity()
- Apply ruff formatting
2026-06-14 16:36:19 -04:00
Alok Saboo
71d09893ef
fix tests
2026-06-14 15:59:25 -04:00
Alok Saboo
98681406af
tidal: add flexattrs and tidalsync command
...
- Add item_types ClassVar with tidal_track_id, tidal_album_id,
tidal_artist_id, tidal_track_popularity, tidal_alb_popularity,
tidal_updated fields
- Populate flexattrs during album/track import via AlbumInfo/TrackInfo
kwargs
- Add beet tidalsync command to refresh popularity data post-import
- Add tidal fields to REIMPORT_FRESH_FIELDS_ITEM for reimport support
- Add tests for flexattr population and tidalsync behavior
- Update tidal plugin docs with attribute reference and tidalsync usage
2026-06-14 13:44:16 -04:00
Šarūnas Nejus
3b9034e8cf
Only skip tests not in CI
2026-06-13 01:46:44 +01:00
Šarūnas Nejus
af27ed2ee6
Centralise RUNNING_IN_CI definition
2026-06-13 01:46:44 +01:00
Šarūnas Nejus
912ab791d9
Exclude tests that depend on ffprobe when unavailable
2026-06-13 01:46:44 +01:00
Šarūnas Nejus
4f3ac5a40a
Exclude artresizer tests when unavailable
2026-06-13 01:46:44 +01:00
Šarūnas Nejus
949f987368
Exclude chroma tests when unimportable
2026-06-13 01:46:44 +01:00
Sebastian Mohr
93a53edf01
Use monkeypatch in logging instead of patch
2026-06-11 10:39:14 +02:00
Sebastian Mohr
8db903c8f8
Propagate rename to test_ui_importer
2026-06-11 10:39:14 +02:00
Sebastian Mohr
6327f1122a
Remove now unused ImportTestCase
2026-06-11 10:39:14 +02:00
Sebastian Mohr
b745157bec
test_logging: ImportTestCase -> ImporterHelper
2026-06-11 10:39:14 +02:00
Sebastian Mohr
7636022cb2
scrub: ImportTestCase -> ImporterHelper
2026-06-11 10:39:14 +02:00
Sebastian Mohr
fb2470dd0b
Naming change in ui inheritance.
2026-06-11 10:39:14 +02:00
Sebastian Mohr
500bad329c
permissions: ImportTestCase -> ImporterHelper
2026-06-11 10:39:14 +02:00
Sebastian Mohr
86de25a352
keyfinder: ImportTestCase -> ImporterHelper
2026-06-11 10:39:14 +02:00
Sebastian Mohr
69100c7946
test_importer: ImportTestCase -> ImporterHelper
2026-06-11 10:39:14 +02:00
Sebastian Mohr
a368803443
replaygain: ImportTestCase -> ImportHelper
2026-06-11 10:39:14 +02:00
Sebastian Mohr
c300dd24ce
filefilter: ImportTestCase -> ImportHelper and fixture based setup
2026-06-11 10:39:14 +02:00
Sebastian Mohr
7a894fc532
chroma: ImportTestCase -> ImportHelper
2026-06-11 10:39:14 +02:00
Tsuizxgo
1d0a7ae6df
Merge latest master into replace callback fix
2026-06-09 16:12:26 +08:00
Zixuan Cui
351e49c43f
Merge branch 'master' into fix-replace-command-signature
2026-06-09 15:25:18 +08:00
Zixuan Cui
42d3fe0038
Merge branch 'master' into fix-mpdstats-cli-host
2026-06-09 15:24:12 +08:00
Šarūnas Nejus
648f24cbc2
Enable and fix flake8-builtins
2026-06-09 00:14:06 +01:00
Šarūnas Nejus
d53ee774a9
Enable and fix flake8-return
2026-06-09 00:14:06 +01:00
Šarūnas Nejus
5be035f49d
Enable and fix flake8-pie
2026-06-09 00:14:06 +01:00
Alok Saboo
fe860fd75a
fix copilot comments
2026-06-08 10:32:04 -04:00
Alok Saboo
faa7deaf5d
Enhance move command to handle missing files gracefully
2026-06-08 09:51:38 -04: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
b19cc733e2
Fix mypy FormattedMapping assignment issue
2026-06-06 06:53:25 +01:00
Šarūnas Nejus
d62e0952c0
Return KeysView from every keys method
2026-06-06 06:53:25 +01:00
Šarūnas Nejus
80c347968c
Enable bpd plugin coverage
2026-06-04 12:57:19 +01:00
Šarūnas Nejus
28c290584c
Remove ConvertMixin
2026-06-04 03:04:33 +01:00
Šarūnas Nejus
d5e42b4652
Remove shell_quote func
2026-06-04 03:01:56 +01:00
Šarūnas Nejus
0217cc35d2
Parametrize never_convert_lossy_files transcode tests
...
- Consolidate the lossy and lossless convert cases into one focused parametrized
test.
- Cover both enabled and disabled flag behavior for lossless sources while
preserving the lossy conversion assertions.
2026-06-04 02:48:21 +01:00
Šarūnas Nejus
417b8b067d
Create test_force_overrides
2026-06-04 02:47:02 +01:00
Šarūnas Nejus
7369da9e0b
Remove unused function
2026-06-03 22:19:03 +01:00
Šarūnas Nejus
77890b431d
Test playlist entry using parametrize
2026-06-03 22:19:03 +01:00
Šarūnas Nejus
772ef8a09f
Test transcode using parametrize
2026-06-03 22:19:03 +01:00
Šarūnas Nejus
17ad1f96b8
Use filepath.suffix
2026-06-03 22:19:03 +01:00
Šarūnas Nejus
c6d51ba9fe
Share convert_dest between tests
2026-06-03 22:19:02 +01:00
Sebastian Mohr
c60131e858
Replaced original setUp functions with setup_beets
2026-06-03 23:02:27 +02:00
Šarūnas Nejus
76df165f51
Remove setup arg from fixtures that do not need it
2026-06-03 21:43:41 +01:00
Sebastian Mohr
3e504b2067
NeverConvertLossyFilesTest -> TestNeverConvertLossyFiles
...
Also import cleanup.
2026-06-03 20:53:08 +02:00
Sebastian Mohr
49f57da73f
ConvertCliTest -> TestConvertCli
2026-06-03 20:53:08 +02:00
Sebastian Mohr
f1a4b22ce5
ImportConvertTest -> TestImportConvert
...
Renamed AsIsImporterMixin to AsIsImporterHelper
2026-06-03 20:52:58 +02:00