@@ -74,7 +74,7 @@ class TestHud(UnityTestCase):
74 self.assertThat(hud_show_button.opacity, Eventually(Equals(1.0)))
74 self.assertThat(hud_show_button.opacity, Eventually(Equals(1.0)))
75 self.touch.tap(swipe_coords.end_x, swipe_coords.end_y - int(hud_show_button.height))
75 self.touch.tap(swipe_coords.end_x, swipe_coords.end_y - int(hud_show_button.height))
76 self.assertThat(hud.shown, Equals(False))
76 self.assertThat(hud.shown, Equals(False))
77− self.assertThat(hud_show_button.opacity, Eventually(Equals(0.0), timeout=0.5))
77+ self.assertThat(hud_show_button.opacity, Eventually(Equals(0.0)))
79 def test_show_hud_appears(self):
79 def test_show_hud_appears(self):
80 """Releasing the touch on the 'show hud' button must display the hud.
80 """Releasing the touch on the 'show hud' button must display the hud.