unlocked: make the non working code work
commitcbbcfdddb358a62e30f292486b0f1f6ea41b27f2
authorOmer Akram <om26er@ubuntu.com>
dateTue 12 Nov 2013, 17:27 (13 years ago)
parentb097fab
tests/autopilot/unity8/process_helpers.py+1−1
@@ -52,7 +52,7 @@ def unlock_unity():
5252 main_window = MainWindow(unity)
5353
5454 greeter = main_window.get_greeter()
55− if greeter is None:
55+ if greeter.created == False:
5656 raise RuntimeWarning("Greeter appears to be already unlocked.")
5757 greeter.swipe()
5858 except ProcessSearchError as e: