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>
(cherry picked from commit
5da3bbf2eb241b4550b8397b767123698bc3432a)
'%(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__))