on xenial help sign in
Small docstring details.
commit22f4508cb028368b77f41988e5072da8d9e37bec authorLeo Arias <leo.arias@canonical.com> dateTue 20 Jan 2015, 22:13 (12 years ago) parentbfb27cf
1 file changed+3−2
tests/autopilot/unity8/indicators/__init__.py+3−2
tests/autopilot/unity8/indicators/__init__.py+3−2
@@ -90,6 +90,7 @@ class DisplayIndicator(object):
9090 flickable.moving.wait_for(False)
9191
9292 def close(self):
93+ """Close the indicator page."""
9394 self._main_window.close_indicator_page()
9495
9596
@@ -106,7 +107,7 @@ class DisplayIndicatorPage(IndicatorPage):
106107 return False
107108
108109 def lock_rotation(self):
109− """Toggles the rotation lock indicator to locked."""
110+ """Toggle the rotation lock indicator to locked."""
110111 switcher = self._get_switcher()
111112 switcher.check()
112113 switcher.checked.wait_for(True)
@@ -116,7 +117,7 @@ class DisplayIndicatorPage(IndicatorPage):
116117 ubuntuuitoolkit.CheckBox, objectName='switcher')
117118
118119 def unlock_rotation(self):
119− """Toggles the rotation lock indicator to unlocked."""
120+ """Toggle the rotation lock indicator to unlocked."""
120121 switcher = self._get_switcher()
121122 switcher.uncheck()
122123 switcher.checked.wait_for(False)