summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Windisch <eric@cloudscaling.com>2013-05-15 16:15:24 -0400
committerEric Windisch <eric@cloudscaling.com>2013-05-15 16:17:49 -0400
commit1d7920a736baf30bf1f825545b8d0ef668694cec (patch)
tree9cfb958fc682d3f858198cd614d9ecac2c84768a /tests
parent378701bf3b2c67b3b98e692076f78cb83c2a419e (diff)
downloadoslo-1d7920a736baf30bf1f825545b8d0ef668694cec.tar.gz
oslo-1d7920a736baf30bf1f825545b8d0ef668694cec.tar.xz
oslo-1d7920a736baf30bf1f825545b8d0ef668694cec.zip
Extract matchmaker_ring to own module
The base matchmaker module should not have all the matchmakers implemented within. Instead, we desire to break them out. For purposes of deprecation, logs a warning when importing from the ZeroMQ driver. Change-Id: I76936edd97309621a9c28363dccd792293a1c0d3
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/rpc/test_matchmaker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/rpc/test_matchmaker.py b/tests/unit/rpc/test_matchmaker.py
index bcc7ef8..71688a4 100644
--- a/tests/unit/rpc/test_matchmaker.py
+++ b/tests/unit/rpc/test_matchmaker.py
@@ -17,6 +17,7 @@
import logging
from openstack.common.rpc import matchmaker
+from openstack.common.rpc import matchmaker_ring
from tests.unit.rpc import matchmaker_common as common
from tests import utils
@@ -32,7 +33,7 @@ class MatchMakerFileTestCase(utils.BaseTestCase, common._MatchMakerTestCase):
ring = {
self.topic: self.hosts
}
- self.driver = matchmaker.MatchMakerRing(ring)
+ self.driver = matchmaker_ring.MatchMakerRing(ring)
class MatchMakerLocalhostTestCase(utils.BaseTestCase,