summaryrefslogtreecommitdiffstats
path: root/tests/unit/scheduler/test_host_filters.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/scheduler/test_host_filters.py')
-rw-r--r--tests/unit/scheduler/test_host_filters.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/scheduler/test_host_filters.py b/tests/unit/scheduler/test_host_filters.py
index d855742..999e1c0 100644
--- a/tests/unit/scheduler/test_host_filters.py
+++ b/tests/unit/scheduler/test_host_filters.py
@@ -16,7 +16,7 @@ Tests For Scheduler Host Filters.
"""
import stubout
-import unittest
+import testtools
from openstack.common import context
from openstack.common import jsonutils
@@ -34,7 +34,7 @@ class TestBogusFilter(object):
pass
-class ExtraSpecsOpsTestCase(unittest.TestCase):
+class ExtraSpecsOpsTestCase(testtools.TestCase):
def _do_extra_specs_ops_test(self, value, req, matches):
assertion = self.assertTrue if matches else self.assertFalse
assertion(extra_specs_ops.match(value, req))
@@ -220,7 +220,7 @@ class ExtraSpecsOpsTestCase(unittest.TestCase):
matches=False)
-class HostFiltersTestCase(unittest.TestCase):
+class HostFiltersTestCase(testtools.TestCase):
"""Test case for host filters."""
def setUp(self):