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,25 @@ |
| +#!/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 |
|
Nirnimesh
2011/12/13 20:03:25
Actually, I meant:
from pyauto_functional import
wud
2011/12/13 20:54:08
Ah, thanks! Done.
On 2011/12/13 20:03:25, Nirnime
|
| + |
| + |
| +if __name__ == '__main__': |
| + pyauto_functional.Main() |