Add comprehensive test suite for all new tools
This commit is contained in:
7
pytest.ini
Normal file
7
pytest.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
[pytest]
|
||||
minversion = 7.0
|
||||
testpaths = tests
|
||||
python_files = test_*.py
|
||||
python_classes = Test*
|
||||
python_functions = test_*
|
||||
addopts = -v --tb=short
|
||||
3
tests/__init__.py
Normal file
3
tests/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
"""
|
||||
Test suite for MCP tools.
|
||||
"""
|
||||
@@ -1,8 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
TEST_ROOT = Path(__file__).parent
|
||||
|
||||
@pytest.fixture
|
||||
def workspace(tmp_path):
|
||||
return tmp_path
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
Reference in New Issue
Block a user
