~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to tests/autopilot/autopilot/tests/__init__.py

Fix the details mode in alt-tab over multiple workspaces and monitors.. Fixes: https://bugs.launchpad.net/bugs/925484, https://bugs.launchpad.net/bugs/933406. Approved by Jason Smith, Thomi Richards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
from autopilot.emulators.X11 import Keyboard, Mouse
16
16
from autopilot.emulators.bamf import Bamf
 
17
from autopilot.emulators.unity.switcher import Switcher
17
18
from autopilot.emulators.unity.workspace import WorkspaceManager
18
19
from autopilot.keybindings import KeybindingsHelper
19
20
 
88
89
        self.bamf = Bamf()
89
90
        self.keyboard = Keyboard()
90
91
        self.mouse = Mouse()
 
92
        self.switcher = Switcher()
91
93
        self.workspace = WorkspaceManager()
92
94
        self.addCleanup(self.workspace.switch_to, self.workspace.current_workspace)
93
95