mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix: Add nest_asyncio and ignore test_hanzo_dev in pydantic v1 tests
- Add nest_asyncio to test dependencies for test_get_platform - Ignore test_hanzo_dev.py which requires the hanzo package
This commit is contained in:
@@ -18,6 +18,7 @@ def test_pydantic_v1(session: nox.Session) -> None:
|
||||
"dirty-equals>=0.6.0",
|
||||
"importlib-metadata>=6.7.0",
|
||||
"rich>=13.7.1",
|
||||
"nest_asyncio", # Required for test_get_platform
|
||||
)
|
||||
|
||||
# Create a temporary pytest.ini that doesn't include the pydantic v2-specific warning filter
|
||||
@@ -58,6 +59,7 @@ filterwarnings =
|
||||
"--ignore=tests/test_refactoring.py",
|
||||
"--ignore=tests/test_streaming.py",
|
||||
"--ignore=tests/test_todo.py",
|
||||
"--ignore=tests/test_hanzo_dev.py", # Requires hanzo package
|
||||
*session.posargs
|
||||
)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user