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:
1 parent
88b8361ef3
commit
1c1ce5365f
3 files changed
+50
-1
No files matched your search
+2
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user