ordigi/tests/conftest.py

14 lines
249 B
Python
Raw Normal View History

2021-08-08 15:33:47 +02:00
""" pytest test configuration """
import pytest
from dozo.exiftool import _ExifToolProc
@pytest.fixture(autouse=True)
def reset_singletons():
""" Need to clean up any ExifTool singletons between tests """
_ExifToolProc.instance = None