| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 """Setup for AP Configurator Pyauto tests.""" | |
| 6 | |
| 7 import os | |
| 8 import sys | |
| 9 | |
| 10 | |
| 11 def _SetupPaths(): | |
| 12 """Setting path to find pyauto_functional.py.""" | |
| 13 ap_configurator_dir = os.path.abspath(os.path.dirname(__file__)) | |
| 14 sys.path.append(ap_configurator_dir) | |
| 15 sys.path.append(os.path.normpath(os.path.join(ap_configurator_dir, | |
| 16 os.pardir))) | |
| 17 | |
| 18 _SetupPaths() | |
| 19 | |
| 20 | |
| 21 from pyauto_functional import Main | |
| 22 | |
| 23 | |
| 24 if __name__ == '__main__': | |
| 25 Main() | |
| OLD | NEW |