blob: 3db8ba4f52f5cb39cc7bb02208118b6f356ec689 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""A common helper that adds chromeos_test libraries to the path.
Also defines:
chromeos_test_common.CURRENT_DIR: As the current directory.
import os
import sys
# Figure out our absolute path so we can simplify configuration.
CURRENT_DIR = os.path.realpath(os.path.abspath(os.path.join(
os.getcwd(), os.path.dirname(__file__))))
sys.path.append(os.path.join(CURRENT_DIR, '../'))