summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authortermie <code@term.ie>2010-12-14 16:05:39 -0800
committertermie <code@term.ie>2010-12-14 16:05:39 -0800
commita2a8406b5d793545c8ecb359e18b80bba618c509 (patch)
treead49bdbff6c6594c568949c84197c29fdab0d3ec /nova/tests
parentc835c441981a17764931390bc1ace6121ab100a4 (diff)
updates per review
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/service_unittest.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/nova/tests/service_unittest.py b/nova/tests/service_unittest.py
index c94af4a23..6bdc7071c 100644
--- a/nova/tests/service_unittest.py
+++ b/nova/tests/service_unittest.py
@@ -91,8 +91,6 @@ class ServiceTestCase(test.TestCase):
self.mox.StubOutWithMock(rpc,
'AdapterConsumer',
use_mock_anything=True)
- #self.mox.StubOutWithMock(
- # service.task, 'LoopingCall', use_mock_anything=True)
rpc.AdapterConsumer(connection=mox.IgnoreArg(),
topic=topic,
proxy=mox.IsA(service.Service)).AndReturn(
@@ -106,17 +104,6 @@ class ServiceTestCase(test.TestCase):
rpc.AdapterConsumer.attach_to_eventlet()
rpc.AdapterConsumer.attach_to_eventlet()
- # Stub out looping call a bit needlessly since we don't have an easy
- # way to cancel it (yet) when the tests finishes
- #service.task.LoopingCall(mox.IgnoreArg()).AndReturn(
- # service.task.LoopingCall)
- #service.task.LoopingCall.start(interval=mox.IgnoreArg(),
- # now=mox.IgnoreArg())
- #service.task.LoopingCall(mox.IgnoreArg()).AndReturn(
- # service.task.LoopingCall)
- #service.task.LoopingCall.start(interval=mox.IgnoreArg(),
- # now=mox.IgnoreArg())
-
service_create = {'host': host,
'binary': binary,
'topic': topic,