commit 9ec0f3317bfb92f4f2244752f66dc1a5bb91e40b
Author: LiuNanke <email address hidden>
Date: Sun Jan 3 20:35:00 2016 +0800
Test: make enforce_type=True in CONF.set_override
each config option has limitation for type and value.
In production code, oslo.conf can ensure user's input
is valid, but in unit test, test methods can pass if
we use method CONF.set_override without parameter
enforce_type=True even we pass wrong type or wrong
value to config option. This commit makes sure calling
method CONF.set_override with enforce_type=True.
Reviewed: https:/ /review. openstack. org/263031 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=9ec0f3317bf b92f4f2244752f6 6dc1a5bb91e40b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9ec0f3317bfb92f 4f2244752f66dc1 a5bb91e40b
Author: LiuNanke <email address hidden>
Date: Sun Jan 3 20:35:00 2016 +0800
Test: make enforce_type=True in CONF.set_override
each config option has limitation for type and value. type=True even we pass wrong type or wrong
In production code, oslo.conf can ensure user's input
is valid, but in unit test, test methods can pass if
we use method CONF.set_override without parameter
enforce_
value to config option. This commit makes sure calling
method CONF.set_override with enforce_type=True.
Change-Id: I52fdc7ed9f74f8 0814fbafd00625d cdd5597ba0e
Closes-bug: #1517839