Skip to content

Commit 1f3c4f3

Browse files
committed
Refactor docstrings in remote connection tests for clarity and formatting
1 parent 4428c25 commit 1f3c4f3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ def test_browser_specific_method(firefox_options, webserver):
3939

4040

4141
def test_remote_webdriver_with_http_timeout(chromium_options, webserver):
42-
"""This test starts a remote webdriver with an http client timeout
43-
set less than the implicit wait timeout, and verifies the http timeout
44-
is triggered first when waiting for an element.
42+
"""This test starts a remote webdriver with an http client timeout.
43+
44+
It verifies the http timeout is triggered first when waiting for an element,
45+
with the timeout set less than the implicit wait timeout.
4546
"""
4647
http_timeout = 4
4748
wait_timeout = 6
@@ -56,9 +57,9 @@ def test_remote_webdriver_with_http_timeout(chromium_options, webserver):
5657

5758

5859
def test_remote_webdriver_with_websocket_timeout(chromium_options, webserver):
59-
"""This test starts a remote webdriver that uses websockets, and has a websocket
60-
client timeout less than the default. It verifies the websocket times out according
61-
to this value.
60+
"""This test starts a remote webdriver that uses websockets, and has a websocket client timeout.
61+
62+
It verifies the websocket times out according to this value.
6263
"""
6364
websocket_timeout = 2.0
6465
websocket_interval = 1.0

0 commit comments

Comments
 (0)