summaryrefslogtreecommitdiff
path: root/heat/tests/test_rpc_client.py
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2013-07-10 17:27:52 +0200
committerJulien Danjou <julien@danjou.info>2013-07-11 15:45:52 +0200
commitf2ef092d8ca73ee4cae8745f5985d5c0f108dac8 (patch)
treed932a83644f2b1c686b935084c1996d109b224dd /heat/tests/test_rpc_client.py
parent535c44108ba78592982fd2dec3334a97fbf0da9b (diff)
downloadheat-f2ef092d8ca73ee4cae8745f5985d5c0f108dac8.tar.gz
Update oslo.notifier and always register options
This avoids registering multiple times the option if the registering functions are called multiple path by different code paths. It's necessary for the default configuration sample generator to have options only registered once. The update of oslo.notifier is needed to avoid it using the inexistant $host option. Change-Id: If31974d7ef7fdbf85a88e950ff06c60ccbd6c31d Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'heat/tests/test_rpc_client.py')
-rw-r--r--heat/tests/test_rpc_client.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/heat/tests/test_rpc_client.py b/heat/tests/test_rpc_client.py
index c09e7669c..41f47e4d2 100644
--- a/heat/tests/test_rpc_client.py
+++ b/heat/tests/test_rpc_client.py
@@ -23,7 +23,6 @@ from oslo.config import cfg
import stubout
import testtools
-from heat.common import config
from heat.common import context
from heat.common import identifier
from heat.rpc import api as rpc_api
@@ -34,7 +33,6 @@ from heat.openstack.common import rpc
class EngineRpcAPITestCase(testtools.TestCase):
def setUp(self):
- config.register_engine_opts()
self.context = context.get_admin_context()
cfg.CONF.set_default('rpc_backend',
'heat.openstack.common.rpc.impl_fake')