diff options
| author | Thomi Richards <thomi.richards@canonical.com> | 2012-04-03 09:28:05 +1200 |
|---|---|---|
| committer | Thomi Richards <thomi.richards@canonical.com> | 2012-04-03 09:28:05 +1200 |
| commit | 0e61442bb440742854fc18ebc9c92d86d0c62adf (patch) | |
| tree | b256dcb4a75620b2d14c76b60b7b25cdd92f5b11 /tests | |
| parent | 1b975adfbd4c7e308a18c59593fd1387abbeecc7 (diff) | |
FIxed launcher autopilot tests.
(bzr r2206.2.1)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/autopilot/autopilot/tests/test_launcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autopilot/autopilot/tests/test_launcher.py b/tests/autopilot/autopilot/tests/test_launcher.py index 1720f6455..5284c2cc7 100644 --- a/tests/autopilot/autopilot/tests/test_launcher.py +++ b/tests/autopilot/autopilot/tests/test_launcher.py @@ -496,7 +496,7 @@ class LauncherTests(ScenariodLauncherTests): # Check if SC is pinned to the launcher already icon = self.launcher.model.get_icon_by_desktop_file(sc_desktop_file) if icon != None: - launcher_instance.unlock_from_launcher(icon[0]) + launcher_instance.unlock_from_launcher(icon) sleep(2.0) # Animation of removing icon can take over a second else: self.addCleanup(cleanup) |
