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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/scheduler/test_weights.py b/tests/unit/scheduler/test_weights.py
index 478a143..ca61c00 100644
--- a/tests/unit/scheduler/test_weights.py
+++ b/tests/unit/scheduler/test_weights.py
@@ -16,13 +16,13 @@
Tests For Scheduler weights.
"""
-import unittest
+import testtools
from openstack.common.scheduler import weight
from tests.unit import fakes
-class TestWeightHandler(unittest.TestCase):
+class TestWeightHandler(testtools.TestCase):
def test_get_all_classes(self):
namespace = "openstack.common.tests.fakes.weights"
handler = weight.BaseWeightHandler(weight.BaseWeigher, namespace)