- Created isolated pytest.ini configuration for MCP server
- Added conftest.py to prevent loading parent project fixtures
- Added pytest and pytest-asyncio to dev dependencies
- Enabled pytest in CI workflow with proper environment variables
- Fixed asyncio test configuration
Pytest now runs successfully for MCP server tests without interfering
with the root project test configuration.
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
No EOL
376 B
INI
14 lines
No EOL
376 B
INI
[pytest]
|
|
# MCP Server specific pytest configuration
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts = -v --tb=short
|
|
# Configure asyncio
|
|
asyncio_mode = auto
|
|
asyncio_default_fixture_loop_scope = function
|
|
# Ignore warnings from dependencies
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::PendingDeprecationWarning |