Handle new oslo.service release

It changes the way timers are run during unit tests, let's add an
additional mock.

Change-Id: Ia3cd8e13992fd561b88752a2f86ce5eb61ebbefd
This commit is contained in:
Thomas Herve 2018-05-16 09:46:14 +02:00
parent 60b4a3f13f
commit 4d500932c2
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ class ServiceEngineTest(common.HeatTestCase):
cfg.CONF.set_default('periodic_interval', 60)
self.patchobject(self.eng, 'service_manage_cleanup')
self.patchobject(self.eng, 'reset_stack_status')
self.patchobject(self.eng, 'service_manage_report')
self.eng.start()
# Add dummy thread group to test thread_group_mgr.stop() is executed?