fix: tests

This commit is contained in:
Alex committed 2026-04-03 18:30:46 +01:00
1 parent 7e88d09e5d
commit 72b3d94453
1 file changed
+7
+7
View File
@@ -14,6 +14,13 @@ def app():
return app
@pytest.fixture(autouse=True)
def _bypass_url_validation():
"""Bypass SSRF URL validation so tests using localhost URLs can proceed."""
with patch("application.api.user.tools.mcp.validate_url"):
yield
# ---------------------------------------------------------------------------
# Helper: _sanitize_mcp_transport
# ---------------------------------------------------------------------------