Sebastian Mohr
25e687abcf
Readded licence. Removed last legacy occurrences of artist and
...
replaced them with `field`. Removed unnecessary default parameters where
applicable.
2026-01-07 16:20:52 +01:00
Šarūnas Nejus
11a7e787fe
Replace random.Random with random module
2026-01-07 15:40:47 +01:00
Sebastian Mohr
13ec95c82d
Overall refactor of random plugin. Added length property to albums.
2026-01-07 15:40:47 +01:00
Sebastian Mohr
a237016de9
Added typehints and some more tests.
2026-01-07 15:40:47 +01:00
Šarūnas Nejus
4a361bd501
Replace format calls with f-strings
2025-08-30 18:42:26 +01:00
Šarūnas Nejus
85a17ee503
Reformat the codebase
2024-09-21 11:57:48 +01:00
Šarūnas Nejus
d3bdd93bf6
Replace assertAlmostEqual
2024-08-12 08:49:30 +01:00
Šarūnas Nejus
46bdb84b46
Replace assertGreater and assertGreaterEqual
2024-08-12 08:43:43 +01:00
Šarūnas Nejus
fcff5d72af
Remove def suite TestLoader definitions
2024-07-28 18:58:51 +01:00
Šarūnas Nejus
6c1e26acc9
Replace unittest.TestCase, TestHelper by BeetsTestCase
2024-07-28 18:58:34 +01: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