Add live test behind the live marker

Plain pytest deselects it; -m live runs it and skips without a key.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
torbenandClaude Sonnet 5.5 committed 2026-12-04 22:06:58 +01:00
1 parent adf8a9b290
commit f761c27d1a
3 files changed
+50 -1

No files matched your search

+2 -1
View File
@@ -57,7 +57,8 @@ venv = ".venv"
[tool.pytest.ini_options]
minversion = "9.0"
testpaths = ["tests"]
addopts = ["-ra", "--strict-markers", "--strict-config"]
addopts = ["-ra", "--strict-markers", "--strict-config", "-m", "not live"]
markers = ["live: calls a paid provider API; run with -m live"]
xfail_strict = true
[tool.importlinter]