summaryrefslogtreecommitdiff
diff options
authorNick Dedekind <nicholas.dedekind@gmail.com>2012-09-12 17:30:08 +0100
committerNick Dedekind <nicholas.dedekind@gmail.com>2012-09-12 17:30:08 +0100
commitb8182b9296575f56a45e648cf067321b17c851ac (patch)
tree40b47a8ae65e0ed07950595e7dc4957cde69a8c5
parent2a90fd6ba51bd34a5a5ba565e80b20027cfede72 (diff)
Fixed hud focus test.
(bzr r2676.3.5)
-rw-r--r--tests/autopilot/unity/tests/test_hud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autopilot/unity/tests/test_hud.py b/tests/autopilot/unity/tests/test_hud.py
index d7b61f089..73137ff41 100644
--- a/tests/autopilot/unity/tests/test_hud.py
+++ b/tests/autopilot/unity/tests/test_hud.py
@@ -402,7 +402,7 @@ class HudBehaviorTests(HudTestsBase):
sleep(1)
self.keyboard.type("HasFocus")
- self.assertSearchText("HasFocus")
+ self.assertThat(self.hud.search_string, Eventually(Equals("HasFocus")))
class HudLauncherInteractionsTests(HudTestsBase):