from pytest import fixture path1 = "tests/test_data/facial_speech_verbal_video_test.mp4" @fixture(scope="class") def processing_facial_activity(get_model): m = get_model.facial m.fit(path1) yield m