Bug 1410891 - Remove unused imports from Get Active Element WPT test. r?maja_zf
MozReview-Commit-ID: NmPXv8mOuu
--- 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;")