summaryrefslogtreecommitdiffstats
path: root/vnftest/__init__.py
diff options
context:
space:
mode:
authorMoshe <moshehoa@amdocs.com>2018-08-15 12:19:07 +0300
committerMoshe <moshehoa@amdocs.com>2018-08-15 17:00:11 +0300
commit5e5e493a5ec5048c0a340e2acd72f52869779fdf (patch)
treeb4f787f6df2a4414660d7f235dfc128cc86fdc2e /vnftest/__init__.py
parent1a54248ad5b5f836ae915413ffefaa487d1f73f5 (diff)
versionize tests due to API changes in ONAP
Issue-ID: VNFSDK-301 Change-Id: I1fdf1b42fc2cd44021c2f33695c86bbbdc8bb62b Signed-off-by: Moshe <moshehoa@amdocs.com> fix tests Issue-ID: VNFSDK-301 Change-Id: I87abc962b13956af07ad8bf7355ea681343664dc Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/__init__.py')
-rw-r--r--vnftest/__init__.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/vnftest/__init__.py b/vnftest/__init__.py
index 6456fc1..af1cdc3 100644
--- a/vnftest/__init__.py
+++ b/vnftest/__init__.py
@@ -21,7 +21,7 @@ import errno
# not require loggers to be created, so this cannot
# include vnftest.common.utils
from vnftest.common import constants
-import vnftest.common.utils as utils
+import vnftest.common.import_utils as import_utils
try:
# do not use vnftest.common.utils.makedirs
@@ -43,7 +43,7 @@ LOG = logging.getLogger(__name__)
def _init_logging():
-
+ print ("initializing logging. log file: " + str(LOG_FILE))
LOG.setLevel(logging.DEBUG)
_LOG_STREAM_HDLR.setFormatter(_LOG_FORMATTER)
@@ -61,8 +61,9 @@ def _init_logging():
logging.root.addHandler(_LOG_FILE_HDLR)
logging.debug("logging.root.handlers = %s", logging.root.handlers)
-utils.import_modules_from_package("vnftest.contexts")
-utils.import_modules_from_package("vnftest.runners")
-utils.import_modules_from_package("vnftest.steps")
-utils.import_modules_from_package("vnftest.crawlers")
-utils.import_modules_from_package("vnftest.openstack")
+import_utils.import_modules_from_package("vnftest.contexts")
+import_utils.import_modules_from_package("vnftest.runners")
+import_utils.import_modules_from_package("vnftest.steps")
+import_utils.import_modules_from_package("vnftest.crawlers")
+import_utils.import_modules_from_package("vnftest.openstack")
+import_utils.import_modules_from_package("vnftest.onap")