Resolve NameError in test_utils.py 57/59057/1
authorEmma Foley <emma.l.foley@intel.com>
Tue, 26 Jun 2018 17:13:35 +0000 (18:13 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Tue, 26 Jun 2018 17:18:39 +0000 (18:18 +0100)
The import of the yardstick module was removed from test_util.py, which relied
on this module location for a file name in
test_import_modules_from_package_no_mod and test_import_modules_from_package.

JIRA: YARDSTICK-1258
Change-Id: I754dbadfb8d788236f354e9a0c1a61ad6c4abf70
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
yardstick/tests/unit/common/test_utils.py

index 6e7a0bf..6247afd 100644 (file)
@@ -19,6 +19,7 @@ from six.moves import configparser
 import time
 import unittest
 
+import yardstick
 from yardstick import ssh
 from yardstick.common import constants
 from yardstick.common import utils