summaryrefslogtreecommitdiffstats
path: root/tests/unit/scheduler/test_weights.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/scheduler/test_weights.py')
-rw-r--r--tests/unit/scheduler/test_weights.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/scheduler/test_weights.py b/tests/unit/scheduler/test_weights.py
index ca61c00..76c62ba 100644
--- a/tests/unit/scheduler/test_weights.py
+++ b/tests/unit/scheduler/test_weights.py
@@ -16,13 +16,12 @@
Tests For Scheduler weights.
"""
-import testtools
-
from openstack.common.scheduler import weight
from tests.unit import fakes
+from tests import utils
-class TestWeightHandler(testtools.TestCase):
+class TestWeightHandler(utils.BaseTestCase):
def test_get_all_classes(self):
namespace = "openstack.common.tests.fakes.weights"
handler = weight.BaseWeightHandler(weight.BaseWeigher, namespace)