Work on utility test class + use them as poc in test_sound_monitor

This commit is contained in:
bkfox
2023-06-21 00:24:43 +02:00
parent faecdf5495
commit b8ad0358c5
22 changed files with 1014 additions and 543 deletions

View File

@ -100,3 +100,8 @@ def podcasts(episodes):
sound.file = f"test_sound_{episode.pk}_{i}.mp3"
items += sounds
return items
@pytest.fixture
def sound(program):
return baker.make(models.Sound, file="tmp/test.wav", program=program)