nova/nova/tests/unit/api/openstack/compute
Ghanshyam Mann b26bc7fd7a Multiple API cleanup changes
This microversion implements below API cleanups:

1. 400 for unknown param for query param and for request body.

2. Making server representation always consistent among all APIs
   returning the complete server representation.

3. Change the default return value of ``swap`` field from the empty string
   to 0 (integer) in flavor APIs.

4. Return ``servers`` field always in the response of GET
   hypervisors API even there are no servers on hypervisor

Details: https://specs.openstack.org/openstack/nova-specs/specs/train/approved/api-consistency-cleanup.html

Partial-Implements: blueprint api-consistency-cleanup

Change-Id: I9d257a003d315b84b937dcef91f3cb41f3e24b53
2019-08-12 08:52:38 -05:00
..
__init__.py
admin_only_action_common.py Avoid lazy-loading instance.flavor in cold migration 2019-06-03 15:28:21 +09:00
dummy_schema.py
microversions.py Remove the extensions framework from wsgi.py 2018-10-18 02:01:03 +00:00
test_access_ips.py Update compute API.get() stubs in test_access_ips 2018-11-05 14:10:11 -05:00
test_admin_actions.py Remove mox in tests/unit/api/openstack/compute 2018-05-24 21:31:44 +00:00
test_admin_password.py Minimal construct plumbing for nova show when a cell is down 2018-10-31 15:22:09 -04:00
test_agents.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_aggregates.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_api.py Remove unnecessary setUp function in testcase 2017-03-30 12:55:16 +08:00
test_attach_interfaces.py Handle PortLimitExceeded in POST /servers/{server_id}/os-interface 2019-04-04 14:52:20 -04:00
test_auth.py Tests: use fakes.HTTPRequest in compute tests 2016-08-24 19:03:54 +03:00
test_availability_zone.py AZ list performance optimization: avoid double service list DB fetch 2019-04-24 18:08:19 -04:00
test_baremetal_nodes.py
test_certificates.py Remove nova-cert 2017-04-27 22:28:01 -04:00
test_cloudpipe.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-07-25 10:45:03 +05:30
test_cloudpipe_update.py Remove cloudpipe APIs 2017-05-04 16:13:45 +08:00
test_console_auth_tokens.py Remove nova-consoleauth 2019-07-05 15:04:47 +00:00
test_console_output.py Minimal construct plumbing for nova show when a cell is down 2018-10-31 15:22:09 -04:00
test_consoles.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_create_backup.py Limit the min length of string for integer JSON-Schema 2017-05-27 10:14:28 +00:00
test_deferred_delete.py Stop handling 'InstanceUnknownCell' exception 2019-05-29 17:14:13 +01:00
test_disk_config.py Remove deprecated 'default_flavor' config option 2019-04-30 13:01:40 +00:00
test_evacuate.py Follow up (#2) for the bw resource provider series 2019-02-11 14:35:15 -05:00
test_extended_hypervisors.py Handle uuids in os-hypervisors API 2017-07-18 17:08:01 -04:00
test_extended_ips.py Merge "Remove unused init_only kwarg from wsgi app init" 2017-01-11 04:13:39 +00:00
test_extended_ips_mac.py Merge "Remove unused init_only kwarg from wsgi app init" 2017-01-11 04:13:39 +00:00
test_extension_info.py Totally freeze the extension_info API 2017-05-08 16:32:48 +08:00
test_flavor_access.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
test_flavor_disabled.py Remove the caching the resource on Request object 2018-10-18 01:59:55 +00:00
test_flavor_manage.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_flavorextradata.py Remove unused init_only kwarg from wsgi app init 2016-12-29 21:51:03 -05:00
test_flavors.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_flavors_extra_specs.py Mock.side_effects does not exist, use Mock.side_effect instead 2016-09-23 15:44:33 +08:00
test_floating_ip_pools.py Make test_floating_ip* pass with CONF.use_neutron=True by default 2017-01-03 20:59:36 -05:00
test_floating_ips.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
test_hosts.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_hypervisor_status.py
test_hypervisors.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_image_metadata.py [proxy-api] microversion 2.39 deprecates image-metadata proxy API 2016-12-07 19:22:43 +03:00
test_images.py Merge image_size extension response into image view builder 2018-10-18 01:59:34 +00:00
test_instance_actions.py Fix an error when generating a host ID 2019-03-04 14:51:13 +09:00
test_instance_usage_audit_log.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_keypairs.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_limits.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_lock_server.py Microversion 2.73: Support adding the reason behind a server lock 2019-05-11 21:48:27 +00:00
test_microversions.py Remove more code related to extensions and testing 2018-10-18 02:00:15 +00:00
test_migrate_server.py Avoid lazy-loading instance.flavor in cold migration 2019-06-03 15:28:21 +09:00
test_migrations.py Add Migration.cross_cell_move and get_by_uuid 2019-06-12 17:17:49 -04:00
test_multinic.py Minimal construct plumbing for nova show when a cell is down 2018-10-31 15:22:09 -04:00
test_networks.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_neutron_security_groups.py Update compute API.get() stubs for test_*security_groups 2018-11-05 14:10:11 -05:00
test_pause_server.py Remove mox in tests/unit/api/openstack/compute 2018-05-24 21:31:44 +00:00
test_quota_classes.py Deprecate file injection 2017-12-12 09:22:21 -05:00
test_quotas.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_remote_consoles.py Stop using mox stubs in test_remote_consoles.py 2017-07-18 00:39:01 +00:00
test_rescue.py Merge "Remove mox from api/openstack/compute/test_rescue.py" 2017-01-03 17:06:30 +00:00
test_security_group_default_rules.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_security_groups.py Update compute API.get() stubs for test_*security_groups 2018-11-05 14:10:11 -05:00
test_server_actions.py Flavor extra spec and image properties validation from API 2019-03-05 12:05:06 -06:00
test_server_diagnostics.py Minimal construct plumbing for nova show when a cell is down 2018-10-31 15:22:09 -04:00
test_server_external_events.py hacking: Resolve E741 (ambiguous variable name) 2019-06-24 14:24:06 -05:00
test_server_group_quotas.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_server_groups.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_server_metadata.py Update compute API.get() mocks in test_server_metadata 2018-11-05 14:10:08 -05:00
test_server_migrations.py Add Migration.cross_cell_move and get_by_uuid 2019-06-12 17:17:49 -04:00
test_server_password.py Remove mox in unit/api/*/test_server_password.py 2018-04-09 16:28:08 +09:00
test_server_reset_state.py Minimal construct plumbing for nova show when a cell is down 2018-10-31 15:22:09 -04:00
test_server_start_stop.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_server_tags.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
test_serversV21.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_services.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_shelve.py Follow up (#2) for the bw resource provider series 2019-02-11 14:35:15 -05:00
test_simple_tenant_usage.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00
test_snapshots.py Implement query param schema for volume, snapshot API 2017-11-19 16:15:39 +03:00
test_suspend_server.py Remove mox in tests/unit/api/openstack/compute 2018-05-24 21:31:44 +00:00
test_tenant_networks.py Count networks to check quota 2017-06-19 21:51:46 +00:00
test_urlmap.py Remove the test for the route '/resources.:(format)' 2017-07-12 20:57:16 +08:00
test_versions.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_volumes.py Multiple API cleanup changes 2019-08-12 08:52:38 -05:00