Šarūnas Nejus
5fad834ad2
Ensure we use Distance to initialise Match objects
2026-03-22 19:23:53 +00:00
Šarūnas Nejus
5ae0b82c8a
Add test for from_scratch
2026-03-22 19:23:53 +00:00
Šarūnas Nejus
8a586ec506
Add test for original_date
2026-03-22 19:23:53 +00:00
Šarūnas Nejus
74b89b6ed2
autotag: do not sync joined artist to artists field
2026-03-22 19:23:52 +00:00
Šarūnas Nejus
067748a483
autotag: move tests to test_hooks.py
2026-03-22 19:23:52 +00:00
Šarūnas Nejus
df6f5c5826
import: simplify tagging item
2026-03-22 19:23:52 +00:00
Šarūnas Nejus
79787cfd97
tagging: fix list albumartists field
2026-03-22 19:23:52 +00:00
Šarūnas Nejus
f3f132942a
autotag: fix list fields
2026-03-22 19:23:52 +00:00
Šarūnas Nejus
819b35f6aa
autotag: add a test for overwrite_null configuration
2026-03-22 19:23:52 +00:00
kelamg
989fc665c9
Improve test
2026-03-22 01:46:50 +00:00
kelamg
2e70472748
Remove + chars
2026-03-22 01:46:50 +00:00
kelamg
2f83c0869e
Fix integration test
2026-03-22 01:46:50 +00:00
kelamg
b3bcb78349
Fix indentation
2026-03-22 01:46:50 +00:00
jochem
55b6fbe77d
copied more generic implementation from snejus, and updated the tests and docs accordingly
2026-03-22 01:46:50 +00:00
kelamg
9a735df125
Fix formatting
2026-03-22 01:46:50 +00:00
kelamg
ec4def9e91
Refactor exclusion tests to pytest
2026-03-22 01:46:50 +00:00
jochem
2f9ee89b2a
Added feature to exclude albums/songs during importing when auto is enabled, as requested in issue #3523 . Also added corresponding tests and documentation.
2026-03-22 01:46:50 +00:00
Šarūnas Nejus
2a003ac709
Refactor ShowChangeTest to use snapshot-style assertions
...
Replace multiple small tests with two comprehensive snapshot tests
covering the same edge cases and newline and column layouts.
Use BeetsTestCase to ensure that the local dev config is ignored.
2026-03-17 17:59:51 +00:00
Šarūnas Nejus
89784c6e3b
Middle and last line widths are always the same for split_into_lines
2026-03-17 17:59:51 +00:00
J0J0 Todos
af8cbc179c
lastgenre: Adapt test to canon helpers move
2026-03-17 06:52:30 +01:00
J0J0 Todos
ffc6f23407
lastgenre: Adapt test to last.fm client separation
2026-03-17 06:52:30 +01:00
Aditya Inamdar
886bb8626d
Remove implementation-focused tests per review
2026-03-16 21:19:12 +00:00
Aditya Inamdar
518a4a83fa
Fix Windows fallback for config editor command
2026-03-16 21:19:12 +00:00
Andrejs Mivreniks
f9f4af874b
feat(play): Add -R/--randomize option to play plugin
2026-03-16 20:33:23 +02:00
Šarūnas Nejus
286bce13c9
Fix show_model_changes
2026-03-16 07:38:21 +00:00
Brock Grassy
d21470042a
Address comments
2026-03-16 06:52:35 +00:00
Brock Grassy
e36c09d69d
Fix lint
2026-03-16 06:52:35 +00:00
Brock Grassy
2c60c3eb49
Address comments and add new test case
2026-03-16 06:52:35 +00:00
Brock Grassy
c51f68be15
Fix rebase in tests
2026-03-16 06:52:35 +00:00
Brock Grassy
a3b7cfa1b3
Add IOMixin to fix failures
2026-03-16 06:52:35 +00:00
Brock Grassy
6b62380b62
Change missing plugin to allow for filtering albums by release type
2026-03-16 06:52:35 +00:00
Šarūnas Nejus
ffb4329006
Fix layout references
2026-03-14 12:02:30 +00:00
Šarūnas Nejus
6a93bf54af
Move layout utils to beets/util/layout.py
2026-03-14 12:02:30 +00:00
Šarūnas Nejus
fc39ab791c
Create a dedicated get_model_changes function in beets/util/diff.py
...
- Add `get_model_changes` as the public API for computing diffs
- Remove tests for `show_model_changes` as test_diff.py fully covers them.
2026-03-14 12:02:30 +00:00
Šarūnas Nejus
1d54f2bf66
Fix diff references
2026-03-14 12:02:30 +00:00
Šarūnas Nejus
756d5c9921
Move diff utils to beets/util/diff.py
2026-03-14 11:58:04 +00:00
Šarūnas Nejus
a6fcb7ba0f
Fix references to color utils
2026-03-14 11:57:18 +00:00
Šarūnas Nejus
aa52aaca56
Move colorisation to beets/util/color.py
2026-03-14 11:57:18 +00:00
Pierre Ayoub
49cb2f5544
chore(test_smartplaylist): Add future TODO about Mocks usage
2026-03-13 19:17:56 +00:00
Pierre Ayoub
1393cd0ae7
fix(test_smartplaylist.py): mypy type error as commit 002a051d0
2026-03-13 19:17:56 +00:00
Pierre Ayoub
523e504f5e
fix(test_smartplaylist): Adapt to changes from commit d01727019
...
The aforementioned commits introduced a nmuber of changes since I
implemented this test:
- The syntax `self.assertExists(m3u_filepath)` was an old and now invalid
way of checking existence of a path using assertion, change to `assert
m3u_filepath.exists()` which now use string instead of bytes
- Use of `Path()` and strings instead of `path.join` and bytes for
handling directory path
2026-03-13 19:17:56 +00:00
Pierre Ayoub
f5a08712b1
chore(test): Lint test_smartplaylist.py
2026-03-13 19:17:56 +00:00
Pierre Ayoub
e80fa746af
chore(test): Format test_smartplaylist.py
2026-03-13 19:17:56 +00:00
Pierre Ayoub
2dcd8f4066
fix(test): Linting issues in smartplaylist
2026-03-13 19:17:56 +00:00
Pierre Ayoub
760271c456
chore(test): format with poe
2026-03-13 19:17:56 +00:00
Pierre Ayoub
ad2529adb0
test(plugins): write dest_regen test for smartplaylist
...
Test functions inspired from `test_playlist_update_output_extm3u()` in
`test_smartplaylist.py`.
Test successfully passed using:
`poetry run pytest test/plugins/test_smartplaylist.py`
2026-03-13 19:17:56 +00: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