better web tests

This commit is contained in:
John Lancaster
2026-06-21 21:01:11 -05:00
parent 806bb15bcc
commit 4da2b0ac83
7 changed files with 105 additions and 51 deletions
+4
View File
@@ -32,15 +32,19 @@ test = [
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"pytest-cov>=7.1.0",
"pytest-env>=1.1.5",
]
[tool.pytest.ini_options]
addopts = ["--strict-markers"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"unit: fast deterministic tests with no external dependencies",
"integration: framework or component integration tests",
"smoke: thin critical-path checks",
]
env = ["PERSONAL_MCP_TEST_HTTP_URL=https://mcp.john-stream.com/mcp"]
[tool.ty.src]
include = ["src", "tests"]