nova/nova/tests/unit/virt/hyperv
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
..
__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 Merge "Pass migration to finish_revert_migration()" 2019-08-06 22:01:18 +00: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-19 07:34:29 +00:00
test_imagecache.py unused images are always deleted (add to in-tree hper-v code) 2019-01-18 23:18:25 -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-19 07:34:29 +00: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-19 07:34:29 +00:00
test_volumeops.py hyperv: Cleans up live migration Planned VM 2018-08-23 17:07:36 -07:00