Chromium Code Reviews| Index: chrome/test/functional/gtalk/pyauto_gtalk.py |
| =================================================================== |
| --- chrome/test/functional/gtalk/pyauto_gtalk.py (revision 0) |
| +++ chrome/test/functional/gtalk/pyauto_gtalk.py (revision 0) |
| @@ -0,0 +1,32 @@ |
| +#!/usr/bin/python |
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +"""Setup for GTalk Pyauto tests.""" |
| + |
| +import os |
| +import sys |
| + |
| + |
| +def _SetupPaths(): |
| + """Setting path to find pyauto_functional.py.""" |
| + gtalk_dir = os.path.abspath(os.path.dirname(__file__)) |
| + sys.path.append(gtalk_dir) |
| + sys.path.append(os.path.normpath(os.path.join(gtalk_dir, os.pardir))) |
| + |
| +_SetupPaths() |
| + |
| + |
| +import pyauto_functional |
| + |
| + |
| +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.
|
| + """Main program for running PyAuto quasar tests.""" |
| + |
| + def __init__(self): |
| + pyauto_functional.Main.__init__(self) |
| + |
| + |
| +if __name__ == '__main__': |
| + Main() |