Bug 1410891 - Remove unused imports from Get Active Element WPT test. r?maja_zf draft
authorAndreas Tolfsen <ato@sny.no>
Mon, 23 Oct 2017 14:48:23 +0100
changeset 685986 75651d93975b7487114867afab30e4fd9c7ba226
parent 685608 a124f4901430f6db74cfc7fe3b07957a1c691b40
child 685987 fa0aaa1ac24bf61dbe3a525028aa4a80b15ccde1
push id86059
push userbmo:ato@sny.no
push dateWed, 25 Oct 2017 07:55:16 +0000
reviewersmaja_zf
bugs1410891
milestone58.0a1
Bug 1410891 - Remove unused imports from Get Active Element WPT test. r?maja_zf MozReview-Commit-ID: NmPXv8mOuu
testing/web-platform/tests/webdriver/tests/element_retrieval/get_active_element.py
--- a/testing/web-platform/tests/webdriver/tests/element_retrieval/get_active_element.py
+++ b/testing/web-platform/tests/webdriver/tests/element_retrieval/get_active_element.py
@@ -1,14 +1,13 @@
-import pytest
-
-from tests.support.asserts import assert_error, assert_success, assert_dialog_handled, assert_same_element
+from tests.support.asserts import assert_error, assert_dialog_handled, assert_same_element
 from tests.support.fixtures import create_dialog
 from tests.support.inline import inline
 
+
 def assert_result_is_active_element(session, result):
     """Ensure that the provided object is a successful WebDriver response
     describing an element reference and that the referenced element matches the
     element returned by the `activeElement` attribute of the current browsing
     context's active document."""
     assert result.status == 200
 
     from_js = session.execute_script("return document.activeElement;")