commit 3a8ba0f8ea5a691cc0cb4cd83f07feb26b4d1267
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sun Jun 12 13:18:05 2016 +0800
Make set_override/set_default with enforce_type=True by default
Consuming projects usually don't set enforce_type=True by default,
and that will lead some invalid tests which don't honour Config options'
type and value limits. We began to warn user about the change since Sep,
2016 in I438aeb766d663dbfe5dbd263fd166c25814204e8. This change will
notify consuming project to write correct test cases with config
options.
This commit also fixes violations in oslo.config test:
config option 'namespace' is MultiStrOpt, need pass list
to conf.set_default().
Reviewed: https:/ /review. openstack. org/328692 /git.openstack. org/cgit/ openstack/ oslo.config/ commit/ ?id=3a8ba0f8ea5 a691cc0cb4cd83f 07feb26b4d1267
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3a8ba0f8ea5a691 cc0cb4cd83f07fe b26b4d1267
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sun Jun 12 13:18:05 2016 +0800
Make set_override/ set_default with enforce_type=True by default
Consuming projects usually don't set enforce_type=True by default, bfe5dbd263fd166 c25814204e8. This change will
and that will lead some invalid tests which don't honour Config options'
type and value limits. We began to warn user about the change since Sep,
2016 in I438aeb766d663d
notify consuming project to write correct test cases with config
options.
This commit also fixes violations in oslo.config test:
config option 'namespace' is MultiStrOpt, need pass list
to conf.set_default().
Closes-Bug: #1517839
Change-Id: Ifa552de0a994e4 0388cbc9f7dbaa5 5700ca276b0