forked from rc/aircox
Work on utility test class + use them as poc in test_sound_monitor
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user