OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/python | |
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 | |
6 """Setup for GTalk Pyauto tests. | |
7 | |
8 Copied from chrome/test/functional/media/pyauto_media.py. | |
Nirnimesh
2011/11/11 01:01:21
Remove this line. It's not a plain copy anymore.
wud
2011/11/17 21:17:53
Done.
| |
9 """ | |
10 | |
11 import os | |
12 import sys | |
13 import tempfile | |
Nirnimesh
2011/11/11 01:01:21
unused
wud
2011/11/17 21:17:53
Done.
| |
14 | |
15 | |
16 def _SetupPaths(): | |
17 """Setting path to find pyauto_functional.py.""" | |
18 gtalk_dir = os.path.abspath(os.path.dirname(__file__)) | |
19 sys.path.append(gtalk_dir) | |
20 sys.path.append(os.path.normpath(os.path.join(gtalk_dir, os.pardir))) | |
21 | |
22 _SetupPaths() | |
23 | |
frankf
2011/11/11 01:35:03
Two blank lines between top-level definition
wud
2011/11/17 21:17:53
Done.
| |
24 import pyauto_functional | |
25 | |
26 | |
27 class Main(pyauto_functional.Main): | |
28 """Main program for running PyAuto quasar tests.""" | |
29 | |
30 def __init__(self): | |
31 pyauto_functional.Main.__init__(self) | |
32 | |
33 | |
34 if __name__ == '__main__': | |
35 Main() | |
OLD | NEW |