| OLD | NEW |
| 1 # Copyright 2016 The LUCI Authors. All rights reserved. | 1 # Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # that can be found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """Module imported by other tests to automatically install a consistent test | 5 """Module imported by other tests to automatically install a consistent test |
| 6 enviornment. | 6 environment. |
| 7 | 7 |
| 8 This consists largely of system path manipulation. | 8 This consists largely of system path manipulation. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 import os | 11 import os |
| 12 import sys | 12 import sys |
| 13 | 13 |
| 14 BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname( | 14 BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname( |
| 15 os.path.abspath(__file__)))) | 15 os.path.abspath(__file__)))) |
| 16 sys.path.insert(0, BASE_DIR) | 16 sys.path.insert(0, BASE_DIR) |
| 17 | 17 |
| 18 from recipe_engine import env | 18 from recipe_engine import env |
| OLD | NEW |