Files
mkvtool/tests/conftest.py
T

8 lines
169 B
Python

import os
import tempfile
from pathlib import Path
_test_config = Path(tempfile.mkdtemp(prefix="mkvtool-tests-"))
os.environ["MKVTOOL_CONFIG_DIR"] = str(_test_config)