mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 09:41:09 +00:00
Fixed tests
This commit is contained in:
@@ -238,6 +238,15 @@ def image_empty_scene():
|
||||
return _read_media("image_empty_scene.jpg")
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def image_dense():
|
||||
for name in ("image_dense.jpg", "image_dense01.jpg", "image_dense02.jpg"):
|
||||
p = _media_dir() / name
|
||||
if p.is_file():
|
||||
return p.read_bytes()
|
||||
pytest.skip("missing dense image fixture")
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def video_short_path():
|
||||
return str(_media_dir() / "video_test01.mp4")
|
||||
|
||||
Reference in New Issue
Block a user