From 1a9a744a853e838a202647bc7c5d393331083970 Mon Sep 17 00:00:00 2001 From: Eric Windisch Date: Wed, 29 May 2013 11:52:28 -0400 Subject: 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 --- openstack/common/rpc/matchmaker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack') 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()) -- cgit