diff options
Diffstat (limited to 'yardstick/__init__.py')
-rw-r--r-- | yardstick/__init__.py | 14 |
1 files changed, 7 insertions, 7 deletions
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__)) |