Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/sdk-python. Official Python SDK for openstatus
Something went wrong. Try again.
399 B · 14 lines
Python
at main
123456789101112131415from __future__ import annotations
import os
import pytest
@pytest.fixture(autouse=True)def _require_api_key() -> None: # pyright: ignore[reportUnusedFunction] if not os.environ.get("OPENSTATUS_API_KEY"): pytest.skip( "OPENSTATUS_API_KEY env var is required for integration tests; " "run `OPENSTATUS_API_KEY=... uv run pytest tests/integration`", )