mirror of
https://github.com/kuhyx/testsAndMisc-archive.git
synced 2026-07-04 11:43:13 +02:00
- C/lichess_random_engine, vocabulary_curve, misc/split, 1dvelocitysimulator, opening_learner: test suites added - CPP/miscelanious: tests added - TS/battery-status, champions_leauge_scores, two-inputs: tests added - python_pkg/fm24_searcher, wake_alarm: new packages added - Fix ruff/cppcheck/eslint/clang-format failures - Update .gitignore for C/C++ build artifacts
14 lines
295 B
Python
14 lines
295 B
Python
"""Shared fixtures for FM24 searcher tests."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import os
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True, scope="session")
|
|
def _offscreen_qt() -> None:
|
|
"""Force offscreen Qt platform for headless testing."""
|
|
os.environ["QT_QPA_PLATFORM"] = "offscreen"
|