From 5da3bbf2eb241b4550b8397b767123698bc3432a Mon Sep 17 00:00:00 2001 From: Jo¶rgen Karlsson Date: Mon, 11 Jan 2016 17:01:47 +0100 Subject: Add apexlake package path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workaround/hack to be able to use apexlake packages modules and run unit tests without having to install apexlake. Change-Id: Ibfa34f56bdb1cafa60d2090e16544a81badc2e85 Signed-off-by: Jo¶rgen Karlsson --- yardstick/__init__.py | 7 +++++++ yardstick/vTC/__init__.py | 0 2 files changed, 7 insertions(+) create mode 100644 yardstick/vTC/__init__.py diff --git a/yardstick/__init__.py b/yardstick/__init__.py index 0c25416bd..7114f8008 100644 --- a/yardstick/__init__.py +++ b/yardstick/__init__.py @@ -16,3 +16,10 @@ logging.basicConfig( '%(levelname)s %(message)s', # noqa datefmt='%m/%d/%y %H:%M:%S') logging.getLogger(__name__).setLevel(logging.INFO) + +# Hack to be able to run apexlake unit tests +# without having to install apexlake. +import sys +import os +import yardstick.vTC.apexlake as apexlake +sys.path.append(os.path.dirname(apexlake.__file__)) diff --git a/yardstick/vTC/__init__.py b/yardstick/vTC/__init__.py new file mode 100644 index 000000000..e69de29bb -- cgit 1.2.3-korg