small fixes
commit8a08d33764bb0ae95ee82f33ec0f97e1e297712d
authorMichael Zanetti <michael.zanetti@canonical.com>
dateThu 15 Aug 2013, 13:11 (13 years ago)
parent30f72f8
tests/autopilot/unity8/shell/tests/test_lock_screen.py+2−2
@@ -175,6 +175,6 @@ class TestLockscreen(UnityTestCase):
175175 self.keyboard.type(character)
176176 try:
177177 self.assertThat(prompt.text, Eventually(Equals(current_text + character)))
178− except:
178+ except AssertionError:
179179 if retries > 0:
180− _type_character(character, retries-1)
180+ self._type_character(character, retries-1)