diff options
author | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2020-04-30 16:54:16 +0200 |
---|---|---|
committer | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2020-04-30 18:58:30 +0200 |
commit | 2ffbfb4b4627f05954ce453436982fca1448af9a (patch) | |
tree | 247d787e4c8ef02476907e9acd0bb7e0b2eeb5cf /ironic/tests/unit/common/test_rpc.py | |
parent | 2afbd77c12d90925f24555fa4e36e28b2bc6e6a6 (diff) | |
download | ironic-2ffbfb4b4627f05954ce453436982fca1448af9a.tar.gz |
Refactor RedfishVirtualMediaBoot
- Move staticmethods and classmethods to functions, since
in py36 we have a bug when ussing unittest.mock [1]
The only classmethod we are keeping is `_set_boot_device`
since it's used by `DracRedfishVirtualMediaBoot`
[1] https://bugs.python.org/issue23078
Change-Id: I6e51bb956890a01535c62f8a378756e65d438ac3
Diffstat (limited to 'ironic/tests/unit/common/test_rpc.py')
0 files changed, 0 insertions, 0 deletions