summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2011-03-03 19:27:15 -0400
committerSandy Walsh <sandy.walsh@rackspace.com>2011-03-03 19:27:15 -0400
commit3d9d99a53d372abf9f69f1d6e66fa6c6491ec752 (patch)
tree818f555669bf7d198cd67e9c894bb36cd6970486 /nova/tests
parent2a6ce075e19af5700960e3fb22c213e43a2e24b4 (diff)
tests passing
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_service.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/nova/tests/test_service.py b/nova/tests/test_service.py
index 45d9afa6c..cb31a3c43 100644
--- a/nova/tests/test_service.py
+++ b/nova/tests/test_service.py
@@ -120,6 +120,12 @@ class ServiceTestCase(test.TestCase):
proxy=mox.IsA(service.Service)).AndReturn(
rpc.AdapterConsumer)
+ rpc.AdapterConsumer(connection=mox.IgnoreArg(),
+ topic='%s_fanout' % topic,
+ proxy=mox.IsA(service.Service)).AndReturn(
+ rpc.AdapterConsumer)
+
+ rpc.AdapterConsumer.attach_to_eventlet()
rpc.AdapterConsumer.attach_to_eventlet()
rpc.AdapterConsumer.attach_to_eventlet()