summaryrefslogtreecommitdiffstats
path: root/tests/unit/rpc/test_matchmaker.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/rpc/test_matchmaker.py')
-rw-r--r--tests/unit/rpc/test_matchmaker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/rpc/test_matchmaker.py b/tests/unit/rpc/test_matchmaker.py
index 8a48608..ddfb776 100644
--- a/tests/unit/rpc/test_matchmaker.py
+++ b/tests/unit/rpc/test_matchmaker.py
@@ -15,7 +15,7 @@
# under the License.
import logging
-import unittest
+import testtools
from openstack.common.rpc import matchmaker
@@ -23,7 +23,7 @@ from openstack.common.rpc import matchmaker
LOG = logging.getLogger(__name__)
-class _MatchMakerTestCase(unittest.TestCase):
+class _MatchMakerTestCase(testtools.TestCase):
def test_valid_host_matches(self):
queues = self.driver.queues(self.topic)
matched_hosts = map(lambda x: x[1], queues)