π The fast, Pythonic way to build MCP servers and clients.
Merge branch 'main' into tests_coverage
Alain IVARS21fc1e56ef02
diff --cc README.mdindex 97fc0ae8f,96002750d..21db5ea16--- a/README.md+++ b/README.md@@@ -760,12 -760,8 +760,12 @@@ Contributions make the open-source commRun the test suite:```bash- uv run pytest -vv+ uv run --frozen pytest -vv```+or if you want an overview of the code coverage+```bash+uv run pytest --cov=src --cov=examples --cov-report=html+```#### Formatting & Lintingdiff --cc tests/server/test_openapi.pyindex 48274df50,b7a6df16c..3fe54e58e--- a/tests/server/test_openapi.py+++ b/tests/server/test_openapi.py@@@ -194,8 -194,8 +194,9 @@@ class TestToolsassert len(tools) == 2assert tools[0].model_dump() == dict(+ annotations=None,name="create_user_users_post",+ annotations=None,description=IsStr(regex=r"^Create a new user\..*$", regex_flags=re.DOTALL),inputSchema={"type": "object",@@@ -207,8 -207,8 +208,9 @@@},)assert tools[1].model_dump() == dict(+ annotations=None,name="update_user_name_users__user_id__name_patch",+ annotations=None,description=IsStr(regex=r"^Update a user's name\..*$", regex_flags=re.DOTALL),