summaryrefslogtreecommitdiff
path: root/heat/tests/common.py
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@mirantis.com>2016-04-11 10:52:22 +1000
committerAngus Salkeld <asalkeld@mirantis.com>2016-04-11 10:52:22 +1000
commit3ed5948b1c20a000e82bea4cd2af7f4dce039ba9 (patch)
tree551790fb8cbfbe041cc3d602ae88fd575496d5b0 /heat/tests/common.py
parenta607d38f637823d60ac1419659dc4f6ed43cb4cb (diff)
downloadheat-3ed5948b1c20a000e82bea4cd2af7f4dce039ba9.tar.gz
Set enforce_type=True on config overrides in tests
This makes sure that type checking is done by oslo.config on the test override values. Change-Id: Ia8c1cb55fe98e9d06b9b9ff13e5c2d25aa67bff3 Closes-bug: #1517839
Diffstat (limited to 'heat/tests/common.py')
-rw-r--r--heat/tests/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/common.py b/heat/tests/common.py
index 04626f9e8..19bf07c98 100644
--- a/heat/tests/common.py
+++ b/heat/tests/common.py
@@ -104,7 +104,7 @@ class HeatTestCase(testscenarios.WithScenarios,
'environment.d')
cfg.CONF.set_default('environment_dir', env_dir)
- cfg.CONF.set_override('error_wait_time', None)
+ cfg.CONF.set_override('error_wait_time', None, enforce_type=True)
self.addCleanup(cfg.CONF.reset)
messaging.setup("fake://", optional=True)