a5f39bd9c3
There is no method called_once_with() in Mock object. Use assert_called_once_with() or assert_has_calls() instead. NOTE(takashin): Additional changes are also applied to nova/tests/unit/virt/libvirt/test_vif.py because the following change has not been applied in stable/rocky. I047856982251fddc631679fb2dbcea0f3b0db097 Change-Id: I9f73fcbe7c3dfd64e75ac8224c13934b03443cd5 Closes-Bug: #1544522 (cherry picked from commit |
||
---|---|---|
.. | ||
__init__.py | ||
fakes.py | ||
test_devspec.py | ||
test_manager.py | ||
test_request.py | ||
test_stats.py | ||
test_utils.py | ||
test_whitelist.py |