mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
fix: use xdist testing
This commit is contained in:
@@ -30,7 +30,7 @@ def test_separate(configuration, instruments):
|
||||
waveform, _ = adapter.load(TEST_AUDIO_DESCRIPTOR)
|
||||
separator = Separator(configuration)
|
||||
prediction = separator.separate(waveform)
|
||||
assert len(prediction) == 2
|
||||
assert len(prediction) == len(instruments)
|
||||
for instrument in instruments:
|
||||
assert instrument in prediction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user