e340d5450f
The kwarg ``enforce_type`` should be removed from oslo.config's ``set_override`` function, used throughout unit tests, because it's currently deprecated and will soon be removed [0], as ``enforce_type`` currently has default value of ``True`` [1]. This patch also removes instances of ``CONF.set_override`` and ``CONF.clear_override`` from unit tests that inherit from ``base.MuranoTestCase`` which already provides a wrapper around this functionality: ``override_config`` which also calls ``CONF.clear_override`` via ``self.addCleanup``. [0] Can be seen in any unit test logs [1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L2625 Change-Id: I6146ea2363e594fd000d8ecda8c2130145723ffe Closes-Bug: #1690886 |
||
---|---|---|
.. | ||
meta | ||
system | ||
__init__.py | ||
test_mock_context_manager.py | ||
test_package_loader.py |