@@ -211,7 +211,6 @@ class InteractiveNotificationBase(NotificationsBase):
211 def test_modal_sd_without_greeter (self):
211 def test_modal_sd_without_greeter (self):
212 """A snap-decision on a phone should block input to shell beneath it when there's no greeter."""
212 """A snap-decision on a phone should block input to shell beneath it when there's no greeter."""
213 unity_proxy = self.launch_unity()
213 unity_proxy = self.launch_unity()
214− unlock_unity(unity_proxy)
216 summary = "Incoming file"
215 summary = "Incoming file"
217 body = "Frank would like to send you the file: essay.pdf"
216 body = "Frank would like to send you the file: essay.pdf"
@@ -252,7 +251,7 @@ class InteractiveNotificationBase(NotificationsBase):
253 def test_modal_sd_with_greeter (self):
252 def test_modal_sd_with_greeter (self):
254 """A snap-decision on a phone should not block input to the greeter beneath it."""
253 """A snap-decision on a phone should not block input to the greeter beneath it."""
255− unity_proxy = self.launch_unity()
254+ unity_proxy = self.launch_greeter()
257 summary = "Incoming file"
256 summary = "Incoming file"
258 body = "Frank would like to send you the file: essay.pdf"
257 body = "Frank would like to send you the file: essay.pdf"
@@ -278,8 +277,8 @@ class InteractiveNotificationBase(NotificationsBase):
279 # verify that we can swipe away the greeter (interact with the "shell")
278 # verify that we can swipe away the greeter (interact with the "shell")
280 time.sleep(1)
279 time.sleep(1)
281− self.main_window.show_dash_swiping()
282 greeter = self.main_window.get_greeter()
280 greeter = self.main_window.get_greeter()
283 self.assertThat(greeter.shown, Eventually(Equals(False)))
282 self.assertThat(greeter.shown, Eventually(Equals(False)))
285 # verify and interact with the triggered snap-decision notification
284 # verify and interact with the triggered snap-decision notification