Initial working version

This commit is contained in:
Philip Henning 2026-03-08 18:32:25 +01:00
parent 34a0627e76
commit b6886cb34a
61 changed files with 4475 additions and 6 deletions

16
tests/conftest.py Normal file
View file

@ -0,0 +1,16 @@
from __future__ import annotations
import pytest
def pytest_collection_modifyitems(config: pytest.Config, items: list[pytest.Item]) -> None:
markexpr = (config.option.markexpr or "").strip()
if markexpr:
return
skip_live = pytest.mark.skip(
reason="Live tests run only via `pytest -m live` or `pytest -m live_create`."
)
for item in items:
if "live" in item.keywords or "live_create" in item.keywords:
item.add_marker(skip_live)