feat: enhance model metadata provider with import error handling and mock setup for tests

This commit is contained in:
Will Miao
2025-09-21 19:56:38 +08:00
parent 4faf912c6f
commit 1022b07f64
4 changed files with 133 additions and 12 deletions

8
pytest.ini Normal file
View File

@@ -0,0 +1,8 @@
[pytest]
addopts = -v --import-mode=importlib
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Skip problematic directories to avoid import conflicts
norecursedirs = .git .tox dist build *.egg __pycache__ py