| Index: client/site_tests/desktopui_WindowManagerHotkeys/desktopui_WindowManagerHotkeys.py
|
| diff --git a/client/site_tests/desktopui_WindowManagerHotkeys/desktopui_WindowManagerHotkeys.py b/client/site_tests/desktopui_WindowManagerHotkeys/desktopui_WindowManagerHotkeys.py
|
| index 0048b150ae71f6d16cf080398901c47459e4f28d..08edd8a4e682d6a071e0b41a03f6925cb3e13266 100644
|
| --- a/client/site_tests/desktopui_WindowManagerHotkeys/desktopui_WindowManagerHotkeys.py
|
| +++ b/client/site_tests/desktopui_WindowManagerHotkeys/desktopui_WindowManagerHotkeys.py
|
| @@ -10,12 +10,7 @@ class desktopui_WindowManagerHotkeys(site_ui_test.UITest):
|
| version = 1
|
|
|
| def run_once(self):
|
| - import autox
|
| -
|
| - # TODO: Set these in a single, standard place for all tests.
|
| - os.environ['DISPLAY'] = ':0'
|
| - os.environ['XAUTHORITY'] = '/home/chronos/.Xauthority'
|
| - ax = autox.AutoX()
|
| + ax = self.get_autox()
|
|
|
| # Start a terminal and wait for it to get the focus.
|
| # TODO: This is a bit of a hack. To watch for the terminal getting
|
|
|