1#!/usr/bin/env python 2# Copyright (c) 2012 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 8import os 9import sys 10 11 12def _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 21from pyauto_functional import Main 22 23 24if __name__ == '__main__': 25 Main() 26