@@ -39,7 +39,9 @@ class TestHud(Unity8TestCase):
40 @with_lightdm_mock("single")
40 @with_lightdm_mock("single")
41 def test_show_hud_button_appears(self):
41 def test_show_hud_button_appears(self):
42− """Swiping up while an app is active must show the 'show hud' button."""
42+ """Swiping up while an app is active must show the 'show hud' button.
43 self.launch_unity()
45 self.launch_unity()
44 self.main_window.get_greeter().unlock()
46 self.main_window.get_greeter().unlock()
45 window = self.main_window.get_qml_view()
47 window = self.main_window.get_qml_view()
@@ -58,7 +60,9 @@ class TestHud(Unity8TestCase):
59 @with_lightdm_mock("single")
61 @with_lightdm_mock("single")
60 def test_show_hud_appears(self):
62 def test_show_hud_appears(self):
61− """Releasing the touch on the 'show hud' button must display the hud."""
63+ """Releasing the touch on the 'show hud' button must display the hud.
62 self.launch_unity()
66 self.launch_unity()
63 self.main_window.get_greeter().unlock()
67 self.main_window.get_greeter().unlock()
64 window = self.main_window.get_qml_view()
68 window = self.main_window.get_qml_view()
@@ -96,8 +100,8 @@ class TestHud(Unity8TestCase):
97 @with_lightdm_mock("single")
101 @with_lightdm_mock("single")
98 def test_hide_hud_dragging(self):
102 def test_hide_hud_dragging(self):
99− """Once open the Hud must close if the upper bar is dragged and released
103+ """Once open the Hud must close if the upper bar is dragged and
100− downward.
104+ released downward.
103 self.launch_unity()
107 self.launch_unity()