X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2F__init__.py;h=c31948d4309a0d013d2a74d3cc4472003c7439a8;hb=4d78a2c02653f4918b55e0becad9094518e1afc3;hp=7114f8008059331cdae1fb3c437b4fae419480fe;hpb=52119ea7faa57c7d9d9943fdf032446aa76e8eee;p=yardstick.git diff --git a/yardstick/__init__.py b/yardstick/__init__.py index 7114f8008..c31948d43 100644 --- a/yardstick/__init__.py +++ b/yardstick/__init__.py @@ -9,6 +9,13 @@ import logging import logging.config +import sys +import os +import yardstick.vTC.apexlake as apexlake + +# Hack to be able to run apexlake unit tests +# without having to install apexlake. +sys.path.append(os.path.dirname(apexlake.__file__)) logging.basicConfig( level=logging.WARNING, @@ -16,10 +23,3 @@ 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__))