@@ -87,6 +87,7 @@ def unlock_unity(unity_proxy_obj=None):
8787 greeter.created.wait_for(False)
8888 logger.info("Greeter unlocked, continuing.")
8989
90+
9091def lock_unity(unity_proxy_obj=None):
9192 """Helper function that attempts to lock unity greeter.
9293
@@ -136,6 +137,7 @@ def lock_unity(unity_proxy_obj=None):
136137 greeter.created.wait_for(True)
137138 logger.info("Greeter locked, continuing.")
138139
140+
139141def restart_unity_with_testability(*args):
140142 """Restarts (or starts) unity with testability enabled.
141143