diff options
author | Vanou Ishii <ishii.vanou@fujitsu.com> | 2022-08-05 16:58:32 +0900 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2022-08-09 11:16:44 -0700 |
commit | 3f624e5caa83acf9b98443cf32cb0cd69143c6e2 (patch) | |
tree | 733f5fc0ec8b28f40e7ffdca028a1a8ada8e6b9f /driver-requirements.txt | |
parent | 246ef585059d8a7ab3d0e18b28e100064039fb18 (diff) | |
download | ironic-3f624e5caa83acf9b98443cf32cb0cd69143c6e2.tar.gz |
Modify test code to avoid CONF modification affection
Few unit tests change attribute of CONF variable via Python
assignment. This changes attribute of CONF, which is instance
of XxxOpt class defined in oslo_config, to Python literal value.
This affects result of another unit test.
To avoid this, we should change attribute of CONF variable with
set_override method.
Change-Id: I4bd8b1b4ea974834f1149fcaa79de85d24f5f7d1
Story: 2010214
Task: 45956
(cherry picked from commit 3b28d0984d5eb82320c632dd5840cebf6d0762ad)
(cherry picked from commit 593a547a8dbbbeee2225520812f8b235c39656b0)
Diffstat (limited to 'driver-requirements.txt')
0 files changed, 0 insertions, 0 deletions