Skip to content

Commit da41f5f

Browse files
committed
fix(lint): format tests/conftest.py (ruff format)
Fix import ordring and covert double quoted to single quotes
1 parent 681a49f commit da41f5f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/conftest.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import pytest
21
from unittest.mock import patch
32

3+
import pytest
4+
45

56
@pytest.fixture(autouse=True)
67
def bypass_ssrf_url_validation(request):
@@ -10,8 +11,8 @@ def bypass_ssrf_url_validation(request):
1011
that either resolve to loopback or are unavailable in CI. The actual SSRF
1112
validation logic is tested in tests/utils/test_url_validation.py.
1213
"""
13-
if "test_url_validation" in request.node.nodeid:
14+
if 'test_url_validation' in request.node.nodeid:
1415
yield
1516
else:
16-
with patch("a2a.client.card_resolver.validate_agent_card_url"):
17+
with patch('a2a.client.card_resolver.validate_agent_card_url'):
1718
yield

0 commit comments

Comments
 (0)