@@ -87,6 +87,7 @@ def unlock_unity(unity_proxy_obj=None):
87 greeter.created.wait_for(False)
87 greeter.created.wait_for(False)
88 logger.info("Greeter unlocked, continuing.")
88 logger.info("Greeter unlocked, continuing.")
90def lock_unity(unity_proxy_obj=None):
91def lock_unity(unity_proxy_obj=None):
91 """Helper function that attempts to lock unity greeter.
92 """Helper function that attempts to lock unity greeter.
@@ -136,6 +137,7 @@ def lock_unity(unity_proxy_obj=None):
136 greeter.created.wait_for(True)
137 greeter.created.wait_for(True)
137 logger.info("Greeter locked, continuing.")
138 logger.info("Greeter locked, continuing.")
139def restart_unity_with_testability(*args):
141def restart_unity_with_testability(*args):
140 """Restarts (or starts) unity with testability enabled.
142 """Restarts (or starts) unity with testability enabled.