on xenial help sign in
Re-enable passphrase tests under UInput.
f2c2cdbMichał Sawicz
tests/autopilot/unity8/shell/tests/test_lock_screen.py−2
@@ -47,7 +47,6 @@ class TestLockscreen(UnityTestCase):
47
47
48 self.assertThat(lockscreen.shown, Eventually(Equals(False)))
48 self.assertThat(lockscreen.shown, Eventually(Equals(False)))
49
49
50− @skipUnless(model() == 'Desktop', "Broken passphrase entry on UInput (LP: #1203788).")
51 @with_lightdm_mock("single-passphrase")
50 @with_lightdm_mock("single-passphrase")
52 def test_can_unlock_passphrase_screen(self):
51 def test_can_unlock_passphrase_screen(self):
53 """Must be able to unlock the passphrase entry screen."""
52 """Must be able to unlock the passphrase entry screen."""
@@ -74,7 +73,6 @@ class TestLockscreen(UnityTestCase):
74 self.assertThat(pinentryField.text, Eventually(Equals("")))
73 self.assertThat(pinentryField.text, Eventually(Equals("")))
75 self.assertThat(lockscreen.shown, Eventually(Equals(True)))
74 self.assertThat(lockscreen.shown, Eventually(Equals(True)))
76
75
77− @skipUnless(model() == 'Desktop', "Broken passphrase entry on UInput (LP: #1203788).")
78 @with_lightdm_mock("single-passphrase")
76 @with_lightdm_mock("single-passphrase")
79 def test_passphrase_screen_wrong_password(self):
77 def test_passphrase_screen_wrong_password(self):
80 """Entering the wrong password must not dismiss the lock screen."""
78 """Entering the wrong password must not dismiss the lock screen."""