diff --git a/layout/base/tests/marionette/test_selectioncarets.py b/layout/base/tests/marionette/test_selectioncarets.py index bf283e5f02bb..a40b3c17022b 100644 --- a/layout/base/tests/marionette/test_selectioncarets.py +++ b/layout/base/tests/marionette/test_selectioncarets.py @@ -3,11 +3,11 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from by import By -from marionette import Actions +from marionette_driver.by import By +from marionette_driver.marionette import Actions from marionette_test import MarionetteTestCase -from selection import SelectionManager -from gestures import long_press_without_contextmenu +from marionette_driver.selection import SelectionManager +from marionette_driver.gestures import long_press_without_contextmenu class SelectionCaretsTest(MarionetteTestCase): diff --git a/layout/base/tests/marionette/test_selectioncarets_multiplerange.py b/layout/base/tests/marionette/test_selectioncarets_multiplerange.py index cc164865441a..9cfbe4652680 100644 --- a/layout/base/tests/marionette/test_selectioncarets_multiplerange.py +++ b/layout/base/tests/marionette/test_selectioncarets_multiplerange.py @@ -3,11 +3,11 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from by import By -from marionette import Actions +from marionette_driver.by import By +from marionette_driver.marionette import Actions from marionette_test import MarionetteTestCase -from selection import SelectionManager -from gestures import long_press_without_contextmenu +from marionette_driver.selection import SelectionManager +from marionette_driver.gestures import long_press_without_contextmenu class SelectionCaretsMultipleRangeTest(MarionetteTestCase): diff --git a/testing/marionette/client/marionette/__init__.py b/testing/marionette/client/marionette/__init__.py index 9923b91cbdea..78b88f62dcce 100644 --- a/testing/marionette/client/marionette/__init__.py +++ b/testing/marionette/client/marionette/__init__.py @@ -2,33 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from marionette_driver.gestures import smooth_scroll, pinch -from marionette_driver.by import By -from marionette_driver.marionette import Marionette, HTMLElement, Actions, MultiActions from marionette_test import MarionetteTestCase, MarionetteJSTestCase, CommonTestCase, expectedFailure, skip, SkipTest -from marionette_driver.errors import ( - ElementNotVisibleException, - ElementNotAccessibleException, - ErrorCodes, - FrameSendFailureError, - FrameSendNotInitializedError, - InvalidCookieDomainException, - InvalidElementStateException, - InvalidResponseException, - InvalidSelectorException, - JavascriptException, - MarionetteException, - MoveTargetOutOfBoundsException, - NoAlertPresentException, - NoSuchElementException, - NoSuchFrameException, - NoSuchWindowException, - ScriptTimeoutException, - StaleElementException, - TimeoutException, - UnableToSetCookieException, - XPathLookupException, -) from runner import ( B2GTestCaseMixin, B2GTestResultMixin, @@ -50,6 +24,3 @@ from runner import ( TestResult, TestResultCollection ) -from marionette_driver.wait import Wait -from marionette_driver.date_time_value import DateTimeValue -import marionette_driver.decorators diff --git a/testing/marionette/driver/marionette_driver/__init__.py b/testing/marionette/driver/marionette_driver/__init__.py index 0c82dcdad253..23395d320d03 100644 --- a/testing/marionette/driver/marionette_driver/__init__.py +++ b/testing/marionette/driver/marionette_driver/__init__.py @@ -1,4 +1,8 @@ from marionette_driver import ( errors, by, decorators, expected, geckoinstance, gestures, keys, marionette, selection, wait, application_cache, date_time_value ) -from marionette_driver.gestures import smooth_scroll, pinch \ No newline at end of file +from marionette_driver.by import By +from marionette_driver.date_time_value import DateTimeValue +from marionette_driver.gestures import smooth_scroll, pinch +from marionette_driver.wait import Wait +