on xenial help sign in
Restore platform import (cursing pyflakes), sphinxify a return in main_window emulator.
fc90690Allan LeSage
tests/autopilot/unity8/indicators/tests/test_indicators.py+2
@@ -20,6 +20,8 @@ from __future__ import absolute_import
20
20
21from testscenarios import multiply_scenarios
21from testscenarios import multiply_scenarios
22
22
23+from autopilot import platform
24+
23from unity8.process_helpers import unlock_unity
25from unity8.process_helpers import unlock_unity
24from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
26from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
25
27
tests/autopilot/unity8/shell/emulators/main_window.py+2−2
@@ -102,9 +102,9 @@ class QQuickView(emulators.UnityEmulatorBase):
102
102
103 @autopilot_logging.log_action(logger.info)
103 @autopilot_logging.log_action(logger.info)
104 def open_indicator_page(self, indicator_name):
104 def open_indicator_page(self, indicator_name):
105− """Return the indicator page.
105+ """Swipe to open the indicator, wait until it's open.
106
106
107− Swipe to open the indicator, wait until it's open.
107+ :returns: The indicator page.
108 """
108 """
109 widget = self.get_indicator_widget(indicator_name)
109 widget = self.get_indicator_widget(indicator_name)
110 start_x, start_y = get_center_point(widget)
110 start_x, start_y = get_center_point(widget)