on xenial help sign in
Restore platform import (cursing pyflakes), sphinxify a return in main_window emulator.
commitfc906907c07ae74a7156bb2f3b87e0cff2d1168f authorAllan LeSage <allan.lesage@canonical.com> dateThu 27 Mar 2014, 21:34 (13 years ago) parent53a2287
2 files changed+4−2
tests/autopilot/unity8/indicators/tests/test_indicators.py+2 tests/autopilot/unity8/shell/emulators/main_window.py+2−2
tests/autopilot/unity8/indicators/tests/test_indicators.py+2
@@ -20,6 +20,8 @@ from __future__ import absolute_import
2020
2121from testscenarios import multiply_scenarios
2222
23+from autopilot import platform
24+
2325from unity8.process_helpers import unlock_unity
2426from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
2527
tests/autopilot/unity8/shell/emulators/main_window.py+2−2
@@ -102,9 +102,9 @@ class QQuickView(emulators.UnityEmulatorBase):
102102
103103 @autopilot_logging.log_action(logger.info)
104104 def open_indicator_page(self, indicator_name):
105− """Return the indicator page.
105+ """Swipe to open the indicator, wait until it's open.
106106
107− Swipe to open the indicator, wait until it's open.
107+ :returns: The indicator page.
108108 """
109109 widget = self.get_indicator_widget(indicator_name)
110110 start_x, start_y = get_center_point(widget)