on xenial help sign in
Minor docs change.
425790aChristopher Lee
tests/autopilot/unity8/process_helpers.py+5−5
@@ -33,13 +33,13 @@ class CannotAccessUnity(Exception):
33def unlock_unity():
33def unlock_unity():
34 """Helper function that attempts to unlock the unity greeter.
34 """Helper function that attempts to unlock the unity greeter.
35
35
36− :raises: RuntimeError if the greeter attempts and fails to be unlocked.
36+ :raises RuntimeError: if the greeter attempts and fails to be unlocked.
37
37
38− :raises: RuntimeWarning when the greeter cannot be found because it is
38+ :raises RuntimeWarning: when the greeter cannot be found because it is
39 already unlocked.
39 already unlocked.
40− :raises: CannotAccessUnity if unity is not introspectable or cannot be
40+ :raises CannotAccessUnity: if unity is not introspectable or cannot be
41 found on dbus.
41 found on dbus.
42− :raises: CannotAccessUnity if unity's upstart status is not "start" or the
42+ :raises CannotAccessUnity: if unity's upstart status is not "start" or the
43 upstart job cannot be found at all.
43 upstart job cannot be found at all.
44
44
45 """
45 """
@@ -68,7 +68,7 @@ def unlock_unity():
68def restart_unity_with_testability():
68def restart_unity_with_testability():
69 """Restarts (or just starts) unity8 with the testability driver loaded
69 """Restarts (or just starts) unity8 with the testability driver loaded
70
70
71− :raises: subprocess.CalledProcessError if unable to stop or start the
71+ :raises subprocess.CalledProcessError: if unable to stop or start the
72 unity8 upstart job.
72 unity8 upstart job.
73
73
74 """
74 """