ba3aebe39b
This patch adds a set_config_files option that allows a tester to force load a specific list of configuration files. It will override the existing set of files, and trigger a reload of those configuration files. Note: This _does_ trigger the autodetection mechanism, as the present state of oslo_config makes it so __call__ is the only thing that sets self._args. After triggering, however, it immediately overrides the detected file list and replaces it with the provided one. Tests provided. Change-Id: I0bcea8be9d2527c61bd8d150e9ed606fabdd290e
3 lines
70 B
Plaintext
3 lines
70 B
Plaintext
[DEFAULT]
|
|
first_test_opt=loaded_value_1
|
|
second_test_opt=loaded_value_2 |