Add apexlake package path 95/6195/2
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Mon, 11 Jan 2016 16:01:47 +0000 (17:01 +0100)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Mon, 11 Jan 2016 16:17:29 +0000 (16:17 +0000)
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>
yardstick/__init__.py
yardstick/vTC/__init__.py [new file with mode: 0644]

index 0c25416..7114f80 100644 (file)
@@ -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 (file)
index 0000000..e69de29