@@ -30,14 +30,9 @@ from unity8.shell.tests.helpers import with_lightdm_mock
3030
3131from autopilot.input import Mouse, Touch, Pointer
3232from 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
3633
37−import unittest
34+
3835import time
39−import os
40−from os import path
4136
4237
4338class TestLockscreen(Unity8TestCase):
@@ -62,7 +57,7 @@ class TestLockscreen(Unity8TestCase):
6257 # dash = self.main_window.get_dash()
6358 # self.assertThat(dash.showScopeOnLoaded, Eventually(Equals(""), timeout=30))
6459
65− @with_lightdm_mock("single_pin")
60+ @with_lightdm_mock("single-pin")
6661 def test_can_unlock_screen(self):
6762 """Must be able to unlock the screen."""
6863 self.lightdm_mock = "single_pin"