diff options
author | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-01-11 17:01:47 +0100 |
---|---|---|
committer | Jörgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2016-01-11 16:17:29 +0000 |
commit | 5da3bbf2eb241b4550b8397b767123698bc3432a (patch) | |
tree | 1477bf03484a3c4efc954966e3732175ba182e86 | |
parent | b8977d8f40a209514411650dcb46f2c4440e96af (diff) |
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 <jorgen.w.karlsson@ericsson.com>
-rw-r--r-- | yardstick/__init__.py | 7 | ||||
-rw-r--r-- | yardstick/vTC/__init__.py | 0 |
2 files changed, 7 insertions, 0 deletions
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 --- /dev/null +++ b/yardstick/vTC/__init__.py |