mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix: Ignore tests requiring optional deps in pydantic v1 session
The pydantic v1 nox session installs only minimal dependencies to avoid disk space issues. Tests that require optional packages like hanzo, hanzo_network, click, etc. are already covered by the main test suite. Ignored tests: - tests/e2e/ (requires hanzo_network) - tests/test_fallback.py (requires hanzo/click) - tests/test_interactive.py (requires hanzo/click) - tests/test_memory.py (requires hanzo/click) - tests/test_rate_limiter.py (requires hanzo/click) - tests/test_refactoring.py (requires hanzo/click) - tests/test_streaming.py (requires hanzo/click) - tests/test_todo.py (requires hanzo/click)
This commit is contained in:
+10
@@ -48,6 +48,16 @@ filterwarnings =
|
||||
"-c", pytest_ini_path,
|
||||
"--showlocals",
|
||||
"--ignore=tests/functional",
|
||||
# Ignore tests that require optional dependencies (hanzo, hanzo_network, click, etc.)
|
||||
# These are tested in the main test suite which has all dependencies installed
|
||||
"--ignore=tests/e2e",
|
||||
"--ignore=tests/test_fallback.py",
|
||||
"--ignore=tests/test_interactive.py",
|
||||
"--ignore=tests/test_memory.py",
|
||||
"--ignore=tests/test_rate_limiter.py",
|
||||
"--ignore=tests/test_refactoring.py",
|
||||
"--ignore=tests/test_streaming.py",
|
||||
"--ignore=tests/test_todo.py",
|
||||
*session.posargs
|
||||
)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user