aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/__init__.py
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-01-13 16:19:58 +0100
committerJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-01-13 17:27:17 +0100
commit791323df72d8bf4f4f4c32a1e7273721f2adc349 (patch)
treebdac6e82f26150f153be3ed0f699b60e62094a5d /yardstick/__init__.py
parent5c4c8667e0c0a8e039d7682f235b022f39149d56 (diff)
Fix flake8 errors
Change-Id: I14f21092f5e97abf0629a92a27062846a6d3130b JIRA:- Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'yardstick/__init__.py')
-rw-r--r--yardstick/__init__.py14
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__))