nova/nova/tests/unit/virt
ChangBo Guo(gcb) 213f7120c4 Remove usage of parameter enforce_type
Oslo.config deprecated parameter enforce_type and change its
default value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0.
Nova peridic py35 job failure due to the DeprecationWarning: "Using the
'enforce_type' argument is deprecated in version '4.0' and will be
removed in version '5.0': The argument enforce_type has changed its
default value to True and then will be removed completely."[1]
So need clean up usage of enforce_type.

Note this patch also change enforce_type from False to default value
True in test__get_node_console_with_reset_wait_timeout. We should test
as runtime, we can use float type to test when config option
serial_console_state_timeout is float.

[1] http://logs.openstack.org/periodic/periodic-nova-py35-with-oslo-master/6eeea0f/testr_results.html.gz

Related--Bug: #1517839

Change-Id: I94915a5c6abbbb739c597025272dc0e25d3ba2ec
2017-04-17 20:23:19 +08:00
..
disk Stop using mox in unit/virt/disk/test_api.py 2017-03-09 20:17:52 +07:00
hyperv Merge "hyperv: make sure to plug OVS VIFs after resize/migrate" 2017-02-07 01:57:48 +00:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
libvirt Fix HTTP 500 raised for getConsoleLog for stopped instance 2017-04-13 09:51:26 +00:00
vmwareapi Use HostAddressOpt for opts that accept IP and hostnames 2017-04-03 16:40:36 +05:30
xenapi remove mox from unit/virt/xenapi/image/test_bittorrent.py 2017-03-23 10:23:41 +08:00
__init__.py
fakelibosinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_block_device.py Remove check_attach 2017-02-26 20:34:05 -05:00
test_configdrive.py force_config_drive: StrOpt -> BoolOpt 2015-11-11 19:59:22 +00:00
test_diagnostics.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 Use more specific asserts in tests 2016-10-12 11:12:08 +01:00
test_hardware.py numa: update numa usage to include reserved CPUs 2017-03-23 04:45:07 -04:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Bump prlimit cpu time for qemu from 2 to 8 2016-12-08 10:41:31 -05:00
test_netutils.py tests: fix vlan test type from int to str 2017-02-07 20:33:45 -05: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 Remove mox from nova/tests/unit/virt/test_virt.py 2016-11-28 08:49:51 +00:00
test_virt_drivers.py Merge "libvirt: Simplify internal usage of get_instance_disk_info" 2017-03-27 13:02:34 +00:00
test_volumeutils.py