OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import os |
5 from autotest_lib.client.bin import site_chrome_test | 6 from autotest_lib.client.bin import site_chrome_test |
6 | 7 |
7 class desktopui_PyAutoFunctionalTests(site_chrome_test.ChromeTestBase): | 8 class desktopui_PyAutoFunctionalTests(site_chrome_test.ChromeTestBase): |
8 """Wrapper for running Chrome's PyAuto-based functional tests.""" | 9 """Wrapper for running Chrome's PyAuto-based functional tests.""" |
9 version = 1 | 10 version = 1 |
10 | 11 |
11 def run_once(self): | 12 def run_once(self): |
| 13 deps_dir = os.path.join(self.autodir, 'deps') |
| 14 self.test_binary_dir = '' |
12 pyauto_script = '%s/test_src/chrome/test/functional/' \ | 15 pyauto_script = '%s/test_src/chrome/test/functional/' \ |
13 'pyauto_functional.py' % self.dep_dir | 16 'pyauto_functional.py' % deps_dir |
14 self.run_chrome_test(pyauto_script) | 17 self.run_chrome_test(pyauto_script) |
OLD | NEW |