From: Jo¶rgen Karlsson Date: Mon, 11 Jan 2016 16:01:47 +0000 (+0100) Subject: Add apexlake package path X-Git-Tag: colorado.1.0~286 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5da3bbf2eb241b4550b8397b767123698bc3432a;p=yardstick.git Add apexlake package path 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 --- 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