nova/nova/tests/unit/virt/libvirt
Takashi NATSUME ad482e53fb 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
2019-08-19 07:34:29 +00:00
..
storage Get rid of args to RBDDriver.__init__() 2019-07-29 08:02:19 +00:00
volume libvirt: Remove unreachable native QEMU iSCSI initiator config code 2019-07-04 11:02:12 +01:00
__init__.py
fake_imagebackend.py Pass disk_info dict to libvirt_info 2018-11-02 13:54:13 +00:00
fake_libvirt_data.py libvirt: harden Host.get_domain_capabilities() 2019-07-27 22:11:11 +01:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py libvirt: harden Host.get_domain_capabilities() 2019-07-27 22:11:11 +01:00
test_blockinfo.py libvirt: Use SATA bus for cdrom devices when using Q35 machine type 2019-06-12 08:00:45 +00:00
test_config.py Hide hypervisor id on windows guests 2019-06-04 00:51:08 +00:00
test_designer.py add mtu to libvirt xml for ethernet and bridge types 2018-06-06 09:39:40 -04:00
test_driver.py Fix 'has_calls' method calls in unit tests 2019-08-19 07:34:29 +00:00
test_fakelibvirt.py Add infrastructure for invoking libvirt's getDomainCapabilities API 2019-05-17 18:17:03 +01:00
test_firewall.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
test_guest.py Avoid logging traceback when detach device not found 2019-07-19 00:04:37 +00:00
test_host.py libvirt: harden Host.get_domain_capabilities() 2019-07-27 22:11:11 +01:00
test_imagebackend.py Get rid of args to RBDDriver.__init__() 2019-07-29 08:02:19 +00:00
test_imagecache.py config: remove deprecated checksum options 2019-08-15 11:47:51 -04:00
test_migration.py Use assertXmlEqual() helper for all XML comparison tests 2019-03-08 11:40:41 +00:00
test_utils.py Remove usused umask argument to virt.libvirt.utils.write_to_file 2019-07-24 16:16:11 -05:00
test_vif.py Pass extra_specs to flavor in vif tests 2019-07-24 12:08:03 +01:00