699bd410c7
Currently we cache BIOS setting after calling apply_configuration or factory_reset implicitly via a wrapper added in BIOSInterface.__new__. It's confusing, and we did forget about this aspect when writing unit tests for the new iLO BIOS interface. This results in unsufficient mocking that breaks unit tests with proliantutils installed. This patch moves caching BIOS settings to an explicit decorator and fixes the mocking problem. Change-Id: I704eccea484b36cb5056fdb64d3702738c22c678 Story: #2004953 Task: #29375 |
||
---|---|---|
.. | ||
api | ||
cmd | ||
common | ||
conductor | ||
conf | ||
db | ||
dhcp | ||
drivers | ||
hacking | ||
objects | ||
tests | ||
__init__.py | ||
version.py |