nova/nova/tests/unit
Stephen Finucane 58784943f7 api: Add framework for extra spec validation
Add the validation framework necessary to verify extra specs along with
the definitions for every extra spec we currently recognize in-tree.
None of this is currently used since we don't have the API microversions
wired up, but that will come in a future patch.

Note that we must add the H238 hacking check to the ignore list here,
since this includes our first use of Python 3-type classes without the
explicit 'object' subclass. This can be removed when that check is
removed from hacking.

Part of blueprint flavor-extra-spec-validators

Change-Id: Ib64a1348cce1dca995746214616c4f33d9d664bd
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-04-08 12:47:01 +00:00
..
accelerator Delete ARQs for an instance when the instance is deleted. 2020-03-24 22:44:18 -07:00
api api: Add framework for extra spec validation 2020-04-08 12:47:01 +00:00
cmd Merge "Add a placement audit command" 2020-03-30 12:01:33 +00:00
compute Block unsupported instance operations with accelerators. 2020-03-31 00:24:00 -07:00
conductor Merge "func tests: move _run_periodics() into base class" 2020-04-02 18:39:18 +00:00
conf
console Merge "Allow TLS ciphers/protocols to be configurable for console proxies" 2020-02-24 17:27:02 +00:00
db Merge "db: Remove unused ec2 DB APIs" 2020-03-18 17:53:31 +00:00
fake_loadables
image Improve error log when snapshot fails 2019-11-06 22:54:05 +00:00
keymgr
network Merge "nova-net: Remove unused parameters" 2020-03-26 21:46:16 +00:00
notifications Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
objects Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
pci support pci numa affinity policies in flavor and image 2019-12-11 14:39:12 +00:00
policies Merge "Add new default roles in migrations policies" 2020-04-02 23:08:29 +00:00
privsep nova-net: Kill it 2020-01-14 21:25:56 +00:00
scheduler Enable and use COMPUTE_ACCELERATORS trait. 2020-03-27 22:42:37 -07:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
virt Merge "tests: work around malformed serial XML" 2020-04-02 18:39:25 +00:00
volume Fix exception translation when creating volume 2019-10-10 02:38:33 +00:00
__init__.py
cast_as_call.py
conf_fixture.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py Claim resources in resource tracker 2019-09-13 08:50:35 +00:00
fake_ldap.py
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py Merge "Add new default roles in migrations policies" 2020-04-02 23:08:29 +00:00
fake_processutils.py
fake_request_spec.py
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py
policy_fixture.py Fix the suppress of policy deprecation warnings 2020-01-07 17:58:09 +00:00
test_api_validation.py Don't hardcode Python versions in test 2019-12-12 15:16:21 +00:00
test_availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
test_baserpc.py
test_block_device.py
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py
test_exception.py
test_fake_notifier.py
test_fixtures.py nova-net: Remove layer of indirection in 'nova.network' 2020-01-15 14:57:49 +00:00
test_flavors.py Remove deprecated 'default_flavor' config option 2019-04-30 13:01:40 +00:00
test_hacking.py nova-net: Remove firewall support (pt. 3) 2020-01-08 13:53:00 +00:00
test_hooks.py
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
test_loadables.py
test_matchers.py
test_metadata.py Support large network queries towards neutron 2020-02-16 23:38:48 -08:00
test_notifications.py nova-net: Remove dependency on nova-net from fake cache 2020-01-08 13:54:12 +00:00
test_notifier.py
test_policy.py Merge "Add new default roles in migrations policies" 2020-04-02 23:08:29 +00:00
test_profiler.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
test_quota.py nova-net: Convert remaining unit tests to neutron 2019-12-16 09:58:42 +00:00
test_rpc.py test_rpc: Stop f****** with global state 2019-04-26 12:21:16 +01:00
test_safeutils.py
test_service.py nova-net: Remove final references to nova-network 2020-01-08 13:54:12 +00:00
test_service_auth.py
test_test.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_test_utils.py
test_utils.py trivial: Remove 'run_once' helper 2020-02-06 15:49:07 +00:00
test_versions.py Move selective patching of open() to nova.test for reuse 2019-05-25 02:49:40 +00:00
test_weights.py
test_wsgi.py
utils.py nova-net: Kill it 2020-01-14 21:25:56 +00:00