Using parallel tests, stackServiceTest sometimes fail with a
NoSuchOptError. Adding a register_engine_opts call seems to fix it.
Change-Id: I2bc6e7ab8d2e2cb20d1f3e7d0d93d75bdb631af3
import mox
from oslo.config import cfg
+from heat.common import config
from heat.common import context
from heat.common import exception
from heat.tests.v1_1 import fakes
def setUp(self):
setup_dummy_db()
+ config.register_engine_opts()
m = mox.Mox()
self.username = 'stack_service_test_user'
ctx = create_context(m, self.username, self.tenant)