Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"integration: tests that hit the real Kalshi demo API (require credentials)",
"integration_real_api_only: endpoints the demo server cannot service (auth-gated roles, demo-broken). Skipped under the default integration run; enable explicitly with -m integration_real_api_only against a prod-like account.",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,9 +1003,9 @@ class TestWsSpecDrift:
# be added here with an evidence citation in the notes field of the
# corresponding WS_CONTRACT_MAP entry.
_DEMO_DIVERGENCE_ALLOWLIST: ClassVar[set[tuple[str, str]]] = set()
@pytest.fixture(autouse=True, scope="class")

@staticmethod
@pytest.fixture(autouse=True, scope="class")
def _load(request: pytest.FixtureRequest) -> None:
request.cls.spec = _load_asyncapi_spec()

Expand Down
Loading