blob: 6499900248036346610d11f23e42eee15efd0728 [file] [log] [blame]
# Copyright 2016 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
"""Module imported by other tests to automatically install a consistent test
environment.
This consists largely of system path manipulation.
"""
try:
from recipe_engine import env
except ImportError:
import os
import sys
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
os.path.abspath(__file__))))
sys.path.insert(0, BASE_DIR)
from recipe_engine import env