@@ -30,14 +30,9 @@ from unity8.shell.tests.helpers import with_lightdm_mock
31from autopilot.input import Mouse, Touch, Pointer
31from autopilot.input import Mouse, Touch, Pointer
32from testtools.matchers import Equals, NotEquals, GreaterThan, MismatchError
32from testtools.matchers import Equals, NotEquals, GreaterThan, MismatchError
33−from autopilot.matchers import Eventually
34−from autopilot.display import Display
35−from autopilot.platform import model
38import time
35import time
43class TestLockscreen(Unity8TestCase):
38class TestLockscreen(Unity8TestCase):
@@ -62,7 +57,7 @@ class TestLockscreen(Unity8TestCase):
62 # dash = self.main_window.get_dash()
57 # dash = self.main_window.get_dash()
63 # self.assertThat(dash.showScopeOnLoaded, Eventually(Equals(""), timeout=30))
58 # self.assertThat(dash.showScopeOnLoaded, Eventually(Equals(""), timeout=30))
65− @with_lightdm_mock("single_pin")
60+ @with_lightdm_mock("single-pin")
66 def test_can_unlock_screen(self):
61 def test_can_unlock_screen(self):
67 """Must be able to unlock the screen."""
62 """Must be able to unlock the screen."""
68 self.lightdm_mock = "single_pin"
63 self.lightdm_mock = "single_pin"