add configuration for pytest

This commit is contained in:
mfaisyal
2022-09-23 19:25:32 +07:00
parent fc3b710470
commit 2ccaf87649
5 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from pytest import fixture
path1 = "tests/test_data/movement_video_test.mp4"
@fixture(scope="class")
def processing_movement(get_model):
m = get_model.movement
m.fit(path1)
yield m