Files
Server-scripts/serverlibrary/run_tests.py
T

17 lines
311 B
Python

#!/usr/bin/env python3
from __future__ import annotations
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parent
SRC = ROOT / "src"
if str(SRC) not in sys.path:
sys.path.insert(0, str(SRC))
import pytest
if __name__ == "__main__":
raise SystemExit(pytest.main(["-q", "tests"]))