Files
Stirling-PDF/engine/tests/conftest.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
302 B
Python
Raw Normal View History

2026-03-16 11:01:50 +00:00
from __future__ import annotations
import os
from pytest import Config
def pytest_configure(config: Config) -> None:
# Set required env vars in case there is no .env file
os.environ.setdefault("STIRLING_OPENAI_API_KEY", "test")
os.environ.setdefault("STIRLING_POSTHOG_API_KEY", "test")