Merge "Move IncorrectConfig, IncorrectSetup and IncorrectNodeSetup to exceptions...
[yardstick.git] / yardstick / tests / unit / common / test_utils.py
index 9540a39..c61a95f 100644 (file)
@@ -20,9 +20,8 @@ import unittest
 
 import yardstick
 from yardstick import ssh
-import yardstick.error
-from yardstick.common import utils
 from yardstick.common import constants
+from yardstick.common import utils
 
 
 class IterSubclassesTestCase(unittest.TestCase):
@@ -987,14 +986,6 @@ class TestUtils(unittest.TestCase):
         with self.assertRaises(RuntimeError):
             utils.validate_non_string_sequence(1, raise_exc=RuntimeError)
 
-    def test_error_class(self):
-        with self.assertRaises(RuntimeError):
-            yardstick.error.ErrorClass()
-
-        error_instance = yardstick.error.ErrorClass(test='')
-        with self.assertRaises(AttributeError):
-            error_instance.get_name()
-
 
 class TestUtilsIpAddrMethods(unittest.TestCase):