nova/nova/tests/unit/virt/hyperv
Takashi NATSUME 8e7e54f60b 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.

Conflicts:
    nova/tests/unit/compute/test_compute_mgr.py

NOTE(takashin): The conflict is due to not having the following change
in stable/rocky.

    Ic062446e5c620c89aec3065b34bcdc6bf5966275

Change-Id: I4b606fce473d064b9bb00213696c075cea020aaf
Closes-Bug: #1840200
(cherry picked from commit ad482e53fb)
(cherry picked from commit fa59033c40)
2019-08-20 12:00:52 +09:00
..
__init__.py
test_base.py Converting nova.virt.hyperv to py3 2015-12-03 08:45:48 +00:00
test_block_device_manager.py Merge "hyperv: Fixes Generation 2 VMs volume boot order" 2017-07-01 14:00:42 +00:00
test_driver.py Pass user context to virt driver when detaching volume 2018-03-03 06:11:12 -05:00
test_eventhandler.py HyperV: Nova serial console access support 2016-05-20 18:59:23 +03:00
test_hostops.py Fix 'has_calls' method calls in unit tests 2019-08-20 12:00:52 +09:00
test_imagecache.py Create hyperv fake images under proper directory 2016-12-02 11:08:46 -05:00
test_livemigrationops.py Merge "Hyper-V: fix live migration with CSVs" 2017-12-01 01:38:59 +00:00
test_migrationops.py Hyper-V: Perform proper cleanup after cold migration 2017-08-30 17:50:11 +00:00
test_pathutils.py propagate OSError to MigrationPreCheckError 2017-10-20 16:46:15 -04:00
test_rdpconsoleops.py Hyper-V: Adds RDPConsoleOps unit tests 2015-09-07 12:47:31 +03:00
test_serialconsolehandler.py Fix wrong override value of config option proxyclient_address 2016-07-27 17:20:35 +08:00
test_serialconsoleops.py Trivial: Fixes serial console minor nits 2016-05-24 10:45:02 -07:00
test_serialproxy.py HyperV: Add serial console proxy 2016-04-18 20:32:13 +03:00
test_snapshotops.py Fix 'has_calls' method calls in unit tests 2019-08-20 12:00:52 +09:00
test_vif.py Adds Hyper-V OVS ViF driver 2017-01-11 22:22:13 +00:00
test_vmops.py Fix 'has_calls' method calls in unit tests 2019-08-20 12:00:52 +09:00
test_volumeops.py hyperv: Cleans up live migration Planned VM 2018-09-14 11:49:17 -06:00