Skip to content

Commit 33b192f

Browse files
committed
[py] Add unit test
1 parent 431ba5b commit 33b192f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

py/test/unit/selenium/webdriver/remote/remote_connection_tests.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ def test_execute_custom_command(mock_request, remote_connection):
5757
assert response == {"status": 200, "value": "OK"}
5858

5959

60+
def test_default_websocket_settings():
61+
config = ClientConfig(remote_server_addr="http://localhost:4444")
62+
assert config.websocket_timeout == 30.0
63+
assert config.websocket_interval == 0.1
64+
65+
6066
def test_get_remote_connection_headers_defaults():
6167
url = "http://remote"
6268
headers = RemoteConnection.get_remote_connection_headers(parse.urlparse(url))

0 commit comments

Comments
 (0)