1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17-
1817"""Tests for advanced user interactions."""
1918import pytest
2019
@@ -118,7 +117,8 @@ def test_cannot_move_to_anull_locator_with_pointer(driver, pages):
118117
119118@pytest .mark .xfail_safari
120119def test_clicking_on_form_elements_with_pointer (driver , pages ):
121- """Copied from org.openqa.selenium.interactions.CombinedInputActionsTest."""
120+ """Copied from
121+ 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,7 +142,8 @@ 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 org.openqa.selenium.interactions.CombinedInputActionsTest."""
145+ """Copied from
146+ org.openqa.selenium.interactions.CombinedInputActionsTest."""
146147 pages .load ("selectableItems.html" )
147148 reportingElement = driver .find_element (By .ID , "infodiv" )
148149 assert "no info" == reportingElement .text
@@ -194,10 +195,8 @@ def test_sending_keys_to_element_with_keyboard(driver, pages):
194195
195196
196197def test_can_send_keys_between_clicks_with_keyboard (driver , pages ):
197- """
198- For W3C, ensures that the correct number of pauses are given to the other
199- input device.
200- """
198+ """For W3C, ensures that the correct number of pauses are given to the
199+ other input device."""
201200 pages .load ("javascriptPage.html" )
202201 keyup = driver .find_element (By .ID , "keyUp" )
203202 keydown = driver .find_element (By .ID , "keyDown" )
0 commit comments