@@ -129,7 +129,7 @@ def test_client_factory_create_with_default_config(
129129 base_agent_card : AgentCard ,
130130):
131131 """Verify that create works correctly with a default ClientConfig."""
132- factory = ClientFactory (ClientConfig () )
132+ factory = ClientFactory ()
133133 client = factory .create (base_agent_card )
134134 assert isinstance (client ._transport , JsonRpcTransport ) # type: ignore[attr-defined]
135135 assert client ._transport .url == 'http://primary-url.com' # type: ignore[attr-defined]
@@ -144,7 +144,7 @@ async def test_client_factory_create_from_url(base_agent_card: AgentCard):
144144 )
145145
146146 agent_url = 'http://example.com'
147- factory = ClientFactory (ClientConfig () )
147+ factory = ClientFactory ()
148148 client = await factory .create_from_url (agent_url )
149149
150150 mock_resolver .assert_called_once ()
@@ -223,7 +223,7 @@ async def test_client_factory_create_from_url_with_default_config(
223223 relative_path = '/extendedAgentCard'
224224 http_kwargs = {'headers' : {'X-Test' : 'true' }}
225225
226- factory = ClientFactory (ClientConfig () )
226+ factory = ClientFactory ()
227227
228228 await factory .create_from_url (
229229 agent_url ,
@@ -311,7 +311,7 @@ def test_client_factory_create_with_interceptors(
311311 interceptor1 = MagicMock ()
312312
313313 with patch ('a2a.client.client_factory.BaseClient' ) as mock_base_client :
314- factory = ClientFactory (ClientConfig () )
314+ factory = ClientFactory ()
315315 factory .create (
316316 base_agent_card ,
317317 interceptors = [interceptor1 ],
0 commit comments