Files
SIA/lib/xml_schema_validator/tests/conftest.py
2025-04-09 11:59:26 +02:00

9 lines
289 B
Python

import subprocess
import sys
def pytest_sessionstart(session):
"""
Build the Rust extension module before running tests.
"""
print("Installing test dependencies...")
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "test_requirements.txt"])