We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 681a49f commit da41f5fCopy full SHA for da41f5f
1 file changed
tests/conftest.py
@@ -1,6 +1,7 @@
1
-import pytest
2
from unittest.mock import patch
3
+import pytest
4
+
5
6
@pytest.fixture(autouse=True)
7
def bypass_ssrf_url_validation(request):
@@ -10,8 +11,8 @@ def bypass_ssrf_url_validation(request):
10
11
that either resolve to loopback or are unavailable in CI. The actual SSRF
12
validation logic is tested in tests/utils/test_url_validation.py.
13
"""
- if "test_url_validation" in request.node.nodeid:
14
+ if 'test_url_validation' in request.node.nodeid:
15
yield
16
else:
- with patch("a2a.client.card_resolver.validate_agent_card_url"):
17
+ with patch('a2a.client.card_resolver.validate_agent_card_url'):
18
0 commit comments