mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix: Restrict pydantic v1 test session to tests/ directory
Explicitly specify tests/ path in pytest command to prevent collecting tests from pkg/* subpackages which have missing dependencies in the minimal pydantic v1 test environment.
This commit is contained in:
@@ -44,6 +44,7 @@ filterwarnings =
|
||||
try:
|
||||
session.run(
|
||||
"pytest",
|
||||
"tests/", # Explicitly specify tests/ to avoid collecting from pkg/* subpackages
|
||||
"-c", pytest_ini_path,
|
||||
"--showlocals",
|
||||
"--ignore=tests/functional",
|
||||
|
||||
Reference in New Issue
Block a user