heat tests : test_engine_service remove commented lines

Remove some unused lines from test_engine_service.py

Change-Id: I272c77be1d0008da7f5189381ee7a5befd03e465
Signed-off-by: Steven Hardy <shardy@redhat.com>
This commit is contained in:
Steven Hardy 2013-01-18 11:22:44 +00:00
parent b0af0b1894
commit 54f1b7b846

View File

@ -206,9 +206,6 @@ class stackServiceCreateUpdateDeleteTest(unittest.TestCase):
error = 'fubar' error = 'fubar'
stack.validate().AndReturn(error) stack.validate().AndReturn(error)
#self.m.StubOutWithMock(threadgroup, 'ThreadGroup')
#threadgroup.ThreadGroup(stack_name).AndReturn(DummyThreadGroup())
self.m.ReplayAll() self.m.ReplayAll()
result = self.man.create_stack(self.ctx, stack_name, result = self.man.create_stack(self.ctx, stack_name,
@ -243,8 +240,6 @@ class stackServiceCreateUpdateDeleteTest(unittest.TestCase):
s = db_api.stack_get(self.ctx, sid) s = db_api.stack_get(self.ctx, sid)
self.m.StubOutWithMock(parser.Stack, 'load') self.m.StubOutWithMock(parser.Stack, 'load')
#self.m.StubOutWithMock(threadgroup, 'ThreadGroup')
#threadgroup.ThreadGroup(stack_name).AndReturn(DummyThreadGroup())
parser.Stack.load(self.ctx, stack=s).AndReturn(stack) parser.Stack.load(self.ctx, stack=s).AndReturn(stack)