1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17+
1718"""Tests for advanced user interactions."""
1819import pytest
1920
@@ -117,8 +118,7 @@ def test_cannot_move_to_anull_locator_with_pointer(driver, pages):
117118
118119@pytest .mark .xfail_safari
119120def test_clicking_on_form_elements_with_pointer (driver , pages ):
120- """Copied from
121- org.openqa.selenium.interactions.CombinedInputActionsTest."""
121+ """Copied from org.openqa.selenium.interactions.CombinedInputActionsTest."""
122122 pages .load ("formSelectionPage.html" )
123123 options = driver .find_elements (By .TAG_NAME , "option" )
124124 mouse = PointerInput (interaction .POINTER_MOUSE , "test mouse" )
@@ -142,8 +142,7 @@ def test_clicking_on_form_elements_with_pointer(driver, pages):
142142@pytest .mark .xfail_firefox
143143@pytest .mark .xfail_safari
144144def test_selecting_multiple_items_with_devices (driver , pages ):
145- """Copied from
146- org.openqa.selenium.interactions.CombinedInputActionsTest."""
145+ """Copied from org.openqa.selenium.interactions.CombinedInputActionsTest."""
147146 pages .load ("selectableItems.html" )
148147 reportingElement = driver .find_element (By .ID , "infodiv" )
149148 assert "no info" == reportingElement .text
@@ -195,8 +194,10 @@ def test_sending_keys_to_element_with_keyboard(driver, pages):
195194
196195
197196def test_can_send_keys_between_clicks_with_keyboard (driver , pages ):
198- """For W3C, ensures that the correct number of pauses are given to the
199- other input device."""
197+ """
198+ For W3C, ensures that the correct number of pauses are given to the other
199+ input device.
200+ """
200201 pages .load ("javascriptPage.html" )
201202 keyup = driver .find_element (By .ID , "keyUp" )
202203 keydown = driver .find_element (By .ID , "keyDown" )
0 commit comments