Skip to content

Commit 5ef1348

Browse files
committed
Update all dependencies and bump to Python 3.13.
1 parent 3950be5 commit 5ef1348

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ postgres-mcp = "postgres_mcp:main"
6262

6363
[tool.pytest.ini_options]
6464
pythonpath = ["./src"]
65+
asyncio_mode = "auto"
6566
asyncio_default_fixture_loop_scope = "function"
6667

6768
[dependency-groups]

security/test_mcp_security_fix.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
if sys.platform == "win32":
1616
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
1717

18+
import pytest
1819
from mcp import types
1920

2021
import postgres_mcp.server as server_module
2122
from postgres_mcp.server import execute_sql
2223

2324

25+
@pytest.mark.asyncio
2426
async def test_mcp_security_fix():
2527
"""Test that the MCP server execute_sql function blocks SQL injection"""
2628

0 commit comments

Comments
 (0)