From 7c837498854cb8bf3d9f9a0ef2f098eae65d7d29 Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Wed, 6 Nov 2024 13:44:44 +0700 Subject: [PATCH] Correct Webdriver HTTP Client in Python examples Signed-off-by: Viet Nguyen Duc --- examples/python/tests/drivers/test_http_client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/python/tests/drivers/test_http_client.py b/examples/python/tests/drivers/test_http_client.py index a905ba1f8d89..6e0ffa021d6e 100644 --- a/examples/python/tests/drivers/test_http_client.py +++ b/examples/python/tests/drivers/test_http_client.py @@ -9,14 +9,14 @@ @pytest.mark.skipif(sys.platform == "win32", reason="Gets stuck on Windows, passes locally") -@pytest.mark.sanity def test_start_remote_with_client_config(grid_server): proxy = Proxy({"proxyType": ProxyType.AUTODETECT}) retries = Retry(connect=2, read=2, redirect=2) timeout = Timeout(connect=300, read=3600) client_config = ClientConfig(remote_server_addr=grid_server, proxy=proxy, - init_args_for_pool_manager={"retries": retries, "timeout": timeout}, + init_args_for_pool_manager={ + "init_args_for_pool_manager": {"retries": retries, "timeout": timeout}}, ca_certs=_get_resource_path("tls.crt"), username="admin", password="myStrongPassword") options = webdriver.ChromeOptions() @@ -26,7 +26,6 @@ def test_start_remote_with_client_config(grid_server): @pytest.mark.skipif(sys.platform == "win32", reason="Gets stuck on Windows, passes locally") -@pytest.mark.sanity def test_start_remote_ignore_certs(grid_server): proxy = Proxy({"proxyType": ProxyType.AUTODETECT}) client_config = ClientConfig(remote_server_addr=grid_server,