summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorEric Windisch <eric@cloudscaling.com>2013-05-29 11:52:28 -0400
committerEric Windisch <eric@cloudscaling.com>2013-05-29 11:52:28 -0400
commit1a9a744a853e838a202647bc7c5d393331083970 (patch)
tree2a4d80b0a691199fd11051fda3b24dd4fe8f9da5 /openstack
parent214cad916d2ef29b2da1de87f766a578e2a37b4c (diff)
downloadoslo-1a9a744a853e838a202647bc7c5d393331083970.tar.gz
oslo-1a9a744a853e838a202647bc7c5d393331083970.tar.xz
oslo-1a9a744a853e838a202647bc7c5d393331083970.zip
MatchMakerStub - make it work & add test
The super() in MatchMakerStub.__init__ was referencing the wrong class due to copy/paste. I've also added a test for this class. Fixes bug 1185501 Change-Id: I298c8c1df4dcb3d3e905ecbb5400d16b3383fdf9
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/rpc/matchmaker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/matchmaker.py b/openstack/common/rpc/matchmaker.py
index fd10f27..98a8f43 100644
--- a/openstack/common/rpc/matchmaker.py
+++ b/openstack/common/rpc/matchmaker.py
@@ -341,7 +341,7 @@ class MatchMakerStub(MatchMakerBase):
Will not work where knowledge of hosts is known (i.e. zeromq)
"""
def __init__(self):
- super(MatchMakerLocalhost, self).__init__()
+ super(MatchMakerStub, self).__init__()
self.add_binding(FanoutBinding(), StubExchange())
self.add_binding(DirectBinding(), StubExchange())