on xenial help sign in
Raise the exception when typing failed 5 times.
commit577eaad88f52ebae04b458b8e0728505f92866e6 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 23 Aug 2013, 09:38 (13 years ago) parent691883c
1 file changed+2
tests/autopilot/unity8/shell/tests/test_lock_screen.py+2
tests/autopilot/unity8/shell/tests/test_lock_screen.py+2
@@ -178,3 +178,5 @@ class TestLockscreen(UnityTestCase):
178178 except AssertionError:
179179 if retries > 0:
180180 self._type_character(character, prompt, retries-1)
181+ else:
182+ raise