OLD | NEW |
---|---|
1 #!/usr/bin/env python | |
DaleCurtis
2012/04/23 16:25:19
This script is not supposed to be executed directl
| |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 4 # found in the LICENSE file. |
4 | 5 |
5 """PyAuto media test base. Handles PyAuto initialization and path setup. | 6 """PyAuto media test base. Handles PyAuto initialization and path setup. |
6 | 7 |
7 Required to ensure each media test can load the appropriate libraries. Each | 8 Required to ensure each media test can load the appropriate libraries. Each |
8 test must include this snippet: | 9 test must include this snippet: |
9 | 10 |
10 # This should be at the top | 11 # This should be at the top |
(...skipping 21 matching lines...) Expand all Loading... | |
32 sys.path.append(os.path.normpath(os.path.join( | 33 sys.path.append(os.path.normpath(os.path.join( |
33 media_dir, os.pardir, os.pardir, os.pardir, os.pardir, | 34 media_dir, os.pardir, os.pardir, os.pardir, os.pardir, |
34 'third_party', 'psutil'))) | 35 'third_party', 'psutil'))) |
35 | 36 |
36 | 37 |
37 _SetupPaths() | 38 _SetupPaths() |
38 | 39 |
39 | 40 |
40 import pyauto_functional | 41 import pyauto_functional |
41 Main = pyauto_functional.Main | 42 Main = pyauto_functional.Main |
OLD | NEW |