on xenial help sign in
fix typo.
4c48c29Thomi Richards
tests/autopilot/unity8/shell/tests/test_lock_screen.py+2−7
@@ -30,14 +30,9 @@ from unity8.shell.tests.helpers import with_lightdm_mock
30
30
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
36
33
37−import unittest
34+
38import time
35import time
39−import os
40−from os import path
41
36
42
37
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))
64
59
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"