diff options
author | Julien Danjou <julien@danjou.info> | 2013-07-10 17:27:52 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2013-07-11 15:45:52 +0200 |
commit | f2ef092d8ca73ee4cae8745f5985d5c0f108dac8 (patch) | |
tree | d932a83644f2b1c686b935084c1996d109b224dd /heat/tests/test_rpc_client.py | |
parent | 535c44108ba78592982fd2dec3334a97fbf0da9b (diff) | |
download | heat-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.py | 2 |
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') |