on xenial help sign in
Seems to work.
commit3f5d08ffcc1b56e6ac910ce80c6898c8cd06ffa5 authorThomi Richards <thomi.richards@canonical.com> dateFri 12 Jul 2013, 15:41 (13 years ago) parentb379400
2 files changed+5−4
tests/autopilot/unity8/shell/tests/__init__.py+3−4 tests/autopilot/unity8/shell/tests/test_lock_screen.py+2
tests/autopilot/unity8/shell/tests/__init__.py+3−4
@@ -31,13 +31,12 @@ class Unity8TestCase(AutopilotTestCase):
3131
3232 """A sane test case base class for the Unity8 shell tests."""
3333
34− # The lightdm mock we want to load. Options seem to be "full", "single-pin",
35− # "single-passphrase" or "single-key".
36− lightdm_mock = "full"
37−
3834 def setUp(self):
3935 super(Unity8TestCase, self).setUp()
4036 self._proxy = None
37+ # The lightdm mock we want to load. Options seem to be "full", "single-pin",
38+ # "single-passphrase" or "single-key".
39+ self.lightdm_mock = "full"
4140
4241 def launch_unity(self):
4342 """Launch the unity8 shell, return a proxy object for it."""
tests/autopilot/unity8/shell/tests/test_lock_screen.py+2
@@ -64,7 +64,9 @@ class TestLockscreen(Unity8TestCase):
6464
6565 def test_can_unlock_screen(self):
6666 """Must be able to unlock the screen."""
67+ self.lightdm_mock = "single_pin"
6768 self.app = self.launch_unity()
69+ time.sleep(30)
6870
6971 # def test_unlock(self):
7072 # self.unlock_greeter()