mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-11-03 16:12:44 +02:00
test: run the live integration tests only when asked for
- pytest deselects integration tests unless -m integration is given, so a key in .env no longer makes a plain run call a paid provider
This commit is contained in:
+2
-2
@@ -53,10 +53,10 @@ cli = ["static/*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
addopts = "-ra --strict-markers"
|
||||
addopts = "-ra --strict-markers -m \"not integration\""
|
||||
markers = [
|
||||
"unit: fast isolated unit tests",
|
||||
"integration: tests requiring external services",
|
||||
"integration: tests requiring external services; run only when asked for, with -m integration",
|
||||
"smoke: quick sanity-check tests",
|
||||
]
|
||||
filterwarnings = [
|
||||
|
||||
Reference in New Issue
Block a user