diff options
| author | Thomi Richards <thomi.richards@canonical.com> | 2012-07-10 16:59:38 +1200 |
|---|---|---|
| committer | Thomi Richards <thomi.richards@canonical.com> | 2012-07-10 16:59:38 +1200 |
| commit | 3bf370f522a450b8bf578877c24a2c1a967c623f (patch) | |
| tree | 99575155b9ba2a5e7cba080409102561f75e5481 /tests/autopilot | |
| parent | 7ecd42222de1897683ba036a5ce86ac1a1826e8f (diff) | |
Fixed errors.
(bzr r2480.2.2)
Diffstat (limited to 'tests/autopilot')
| -rw-r--r-- | tests/autopilot/unity/tests/test_showdesktop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/autopilot/unity/tests/test_showdesktop.py b/tests/autopilot/unity/tests/test_showdesktop.py index 0c264fdb6..1a845ec87 100644 --- a/tests/autopilot/unity/tests/test_showdesktop.py +++ b/tests/autopilot/unity/tests/test_showdesktop.py @@ -77,7 +77,7 @@ class ShowDesktopTests(UnityTestCase): # We'll un-minimise the character map - find it's launcherIcon in the launcher: charmap, calc = test_windows - find_icon_fn = self.launcher.model.get_icon_by_desktop_id(charmap.application.desktop_id) + find_icon_fn = lambda: self.launcher.model.get_icon_by_desktop_id(charmap.application.desktop_file) self.assertThat(find_icon_fn, Eventually(NotEquals(None))) charmap_icon = find_icon_fn() self.launcher.get_launcher_for_monitor(0).click_launcher_icon(charmap_icon) @@ -115,4 +115,4 @@ class ShowDesktopTests(UnityTestCase): for win in test_windows: self.assertProperty(win, is_valid=True) - self.assertTrue(win, is_hidden=True) + self.assertProperty(win, is_hidden=True) |
