nova/nova/tests/unit/virt
Takashi NATSUME fa59033c40 Fix 'has_calls' method calls in unit tests
The 'has_calls' method does not exist in assertion methods of mock.
Replace the 'has_calls' method with an 'assert_has_calls' method or
an 'assert_called_once_with' method.
Add an 'assertEqual' check before an 'assert_has_calls' method.

Change-Id: I4b606fce473d064b9bb00213696c075cea020aaf
Closes-Bug: #1840200
(cherry picked from commit ad482e53fb)
2019-08-20 11:16:37 +09:00
..
disk Fix type error on call to mount device 2019-06-27 12:51:29 +00:00
hyperv Fix 'has_calls' method calls in unit tests 2019-08-20 11:16:37 +09:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Fix 'has_calls' method calls in unit tests 2019-08-20 11:16:37 +09:00
libvirt Fix 'has_calls' method calls in unit tests 2019-08-20 11:16:37 +09:00
powervm Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
vmwareapi Merge "vmware:add support for the hw_video_ram image property" 2019-02-23 00:43:27 +00:00
xenapi xenapi/agent: Change openssl error handling 2019-04-29 12:36:01 +00:00
zvm Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
__init__.py
fakelibosinfo.py
test_block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-26 11:20:24 +09:00
test_configdrive.py
test_driver.py Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
test_events.py
test_fake.py
test_firewall.py remove get_nw_info_for_instance from compute.utils 2017-06-13 13:30:06 +02:00
test_hardware.py Improve existing flavor and image metadata validation 2019-03-04 14:29:37 -06:00
test_imagecache.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_images.py qemu: Make disk image conversion dramatically faster 2019-03-18 14:53:39 -05:00
test_netutils.py Remove unnecessary code 2017-07-28 06:01:21 +00:00
test_osinfo.py Do not attempt to load osinfo if we do not have os_distro 2017-03-23 22:07:03 -04:00
test_virt.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
test_virt_drivers.py libvirt: move checking CONF.my_ip to init_host() 2019-07-22 15:48:09 -04:00