1eec451b1b
By default, mock.patch's autospec argument is None, meaning that there's no signature checking for the patched methods and functions. oslotest.mock_fixture.patch_mock_module fixes a few issues within mock.patch functions, as well as setting autospec=True by default, unless otherwise specified or new_callable, create, spec arguments are passed in. Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com> Change-Id: I4484e63c97bd1cdde3d88855eabe7545784f365e Closes-Bug: #1735588 |
||
---|---|---|
.. | ||
disk | ||
tasks | ||
volume | ||
__init__.py | ||
test_driver.py | ||
test_host.py | ||
test_image.py | ||
test_media.py | ||
test_mgmt.py | ||
test_vif.py | ||
test_vm.py |