Chromium Code Reviews| 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 import os | |
| 9 import sys | |
| 10 | |
| 11 | |
| 12 def _SetupPaths(): | |
| 13 """Setting path to find pyauto_functional.py.""" | |
| 14 gtalk_dir = os.path.abspath(os.path.dirname(__file__)) | |
| 15 sys.path.append(gtalk_dir) | |
| 16 sys.path.append(os.path.normpath(os.path.join(gtalk_dir, os.pardir))) | |
| 17 | |
| 18 _SetupPaths() | |
| 19 | |
| 20 | |
| 21 import pyauto_functional | |
| 22 | |
| 23 | |
| 24 class Main(pyauto_functional.Main): | |
|
Nirnimesh
2011/11/30 23:57:36
This class is a no-op. You could directly use pyau
wud
2011/12/13 19:36:24
Ah, good point. Done.
| |
| 25 """Main program for running PyAuto quasar tests.""" | |
| 26 | |
| 27 def __init__(self): | |
| 28 pyauto_functional.Main.__init__(self) | |
| 29 | |
| 30 | |
| 31 if __name__ == '__main__': | |
| 32 Main() | |
| OLD | NEW |