add configuration for pytest
This commit is contained in:
19
tests/speech/conftest.py
Normal file
19
tests/speech/conftest.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from pytest import fixture
|
||||
|
||||
test_path = "tests/test_data/"
|
||||
path_mp4 = test_path + "facial_speech_verbal_video_test.mp4"
|
||||
path_wav = test_path + "facial_speech_verbal_audio_test.wav"
|
||||
|
||||
|
||||
@fixture(scope="class")
|
||||
def processing_speech_mp4(get_model):
|
||||
m = get_model.speech
|
||||
m.fit(path_mp4)
|
||||
yield m
|
||||
|
||||
|
||||
@fixture(scope="class")
|
||||
def processing_speech_wav(get_model):
|
||||
m = get_model.speech
|
||||
m.fit(path_wav)
|
||||
yield m
|
||||
Reference in New Issue
Block a user