Šarūnas Nejus
bfd3b7e04a
Make RSRC a pathlib.Path
2026-07-21 16:23:49 +01: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
Sebastian Mohr
adfb73b66d
Run ruff format
2026-05-20 16:53:06 +02:00
Alok Saboo
e84ce4198a
Revert unrelated docstring reformatting
2026-04-29 08:33:31 -04:00
Alok Saboo
2c7274fff1
Address reviewer comments and update related tests
2026-04-19 09:08:55 -04:00
Alok Saboo
99b81c550f
lint
2026-04-18 21:16:39 -04:00
Alok Saboo
826aaeb4b3
Address reviewer comments
2026-04-18 21:07:48 -04:00
Alok Saboo
75cfa0d751
Address reviewer coments
2026-03-31 19:49:04 -04:00
Alok Saboo
2d6711e404
lint
2026-03-31 19:41:51 -04:00
Alok Saboo
d4d265e7e0
batch spotify requests
2026-03-31 19:33:56 -04:00
Arden Rasmussen
a7170fae45
expand tests to include check for track artists
2025-12-18 16:23:58 -08:00
Arden Rasmussen
963a9692cc
added tests for multi-artist spotify and lastgenre changes
2025-12-17 11:54:12 -08:00
pSpitzner
cc0024e089
Spotify tests are now consistent with quote change
2025-09-27 13:22:41 +02:00
Šarūnas Nejus
1c16b2b308
Replace string concatenation (' + ')
...
- Join hardcoded strings
- Replace concatenated variables with f-strings
2025-08-30 23:10:15 +01:00
Sebastian Mohr
abffa7900b
Fixed tests as query formatting changed slightly.
2025-08-26 13:41:11 +02:00
dhruvravii
dd6cb538ac
Fix: Spotify plugin unable to recognize Chinese and Japanese albums. ( #5705 )
...
Fixes an issue where each spotify query was converted to ascii before sending. Adds a
new config option to enable legacy behaviour.
A file called japanese_track_request.json was made to mimic the Spotify
API response since I don't have the credentials. Entries in that will
need to be modified with the actual entries.
Co-authored-by: Sebastian Mohr <sebastian@mohrenclan.de >
Co-authored-by: Sebastian Mohr <39738318+semohr@users.noreply.github.com >
Co-authored-by: J0J0 Todos <2733783+JOJ0@users.noreply.github.com >
2025-07-01 11:08:54 +02:00
Šarūnas Nejus
9a05d27acf
Replace assertEqual
2024-08-12 08:43:42 +01:00
Šarūnas Nejus
11e948121c
Replace assertIn
2024-08-12 08:43:42 +01:00
Šarūnas Nejus
5d4911e905
Replace assertIsNone
2024-08-12 08:43:41 +01:00
Šarūnas Nejus
cb82917fe0
Replace assertFalse
2024-08-12 08:43:41 +01:00
Šarūnas Nejus
0ecc345143
Replace assertTrue
2024-08-05 17:11:16 +01:00
Šarūnas Nejus
fcff5d72af
Remove def suite TestLoader definitions
2024-07-28 18:58:51 +01:00
Šarūnas Nejus
2d5fd907c3
Remove redundant setup_beets and teardown_beets instructions
2024-07-28 18:58:34 +01:00
Šarūnas Nejus
3e278159ed
Dedupe TestHelper and _common.TestCase setup
2024-07-28 18:58:33 +01:00
freddiewanah
dba24a7d96
reformat with black
2024-04-11 18:44:32 +02:00
freddiewanah
e0de6e1b89
refactor the test methods to avoid suboptimal asserts.
2024-04-08 21:39:25 +08:00
Serene-Arc
83242fd7cf
Apply formatting
2024-03-01 15:21:25 +10:00
Lars Kruse
508d28f66b
tests: move reusable test-related modules into the beets package
...
External Python packages interfacing beets may want to use an in-memory
beets library instance for testing beets-related code.
The `TestHelper` class is very helpful for this purpose.
Previously `TestHelper` was located in the `test/` directory.
Now it is part of `beets` itself (`beets.test.helper.TestHelper`) and
can be easily imported.
2024-01-15 19:40:57 +01:00
Serene-Arc
a6e5201ff3
Apply formatting tools to all files
...
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
Serene-Arc
84c0ab6857
Correctly refactor tests
2023-10-17 19:39:03 +10:00