nova/nova/tests/unit/api/openstack/compute
Ghanshyam Mann d97af33c06 Enable new defaults and scope checks by default
As discussed in PTG, we need to test the new RBAC in the
integrated gate and accordingly enable the new defaults
and scope check by default. A new integrated testing job
has been added and results show that the new defaults and
scope checks are working fine. During testing, we found a
few bugs in neutron policies but all are fixed now.

enforce_scope and enforce_new_defaults are oslo policy config
options but they are per service level and the default value
can be overridden. Oslo policy 3.11.0 version allows to override
the default value for these config options[1] so upgrading the
oslo policy version in requirements.txt

Depends-On: https://review.opendev.org/c/openstack/devstack/+/869781
Depends-On: https://review.opendev.org/c/openstack/placement/+/869525

[1] https://github.com/openstack/oslo.policy/blob/3.11.0/oslo_policy/opts.py#L125

Change-Id: I977b2daedf880229c8d364ca011f2ea965b86e3a
2023-01-10 23:37:13 -06:00
..
__init__.py
admin_only_action_common.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
dummy_schema.py
microversions.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
test_access_ips.py tests: Remove '_FakeImageService' 2020-09-16 11:31:23 +01:00
test_admin_actions.py virt: Remove 'reset_network' API 2020-11-23 15:55:50 +00:00
test_admin_password.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_aggregates.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_api.py Join quota exception family trees 2022-02-08 07:52:01 -08:00
test_attach_interfaces.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_auth.py
test_availability_zone.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_baremetal_nodes.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_certificates.py Replace 'fake' with a real project ID 2019-09-30 14:40:20 +09:00
test_cloudpipe.py Replace 'fake' with a real project ID 2019-09-30 14:40:20 +09:00
test_cloudpipe_update.py Remove cloudpipe APIs 2017-05-04 16:13:45 +08:00
test_console_auth_tokens.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_console_output.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_create_backup.py Remove double mocking... again 2022-08-08 19:50:02 +02:00
test_deferred_delete.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_disk_config.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_evacuate.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_extended_ips.py Remove six.iteritems/itervalues/iterkeys 2020-11-07 03:25:26 +00:00
test_extended_ips_mac.py Remove six.iteritems/itervalues/iterkeys 2020-11-07 03:25:26 +00:00
test_extension_info.py Add test coverage of extensions policies 2020-07-25 16:54:15 -05:00
test_flavor_access.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_flavor_disabled.py conf: Remove deprecated 'project_id_regex' opt 2019-09-27 18:59:02 +09:00
test_flavor_manage.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_flavorextradata.py conf: Remove deprecated 'project_id_regex' opt 2019-09-27 18:59:02 +09:00
test_flavors.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_flavors_extra_specs.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_floating_ip_pools.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_floating_ips.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_hosts.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_hypervisors.py Remove double mocking 2022-08-02 15:31:15 +02:00
test_image_metadata.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_images.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_instance_actions.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_instance_usage_audit_log.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
test_keypairs.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_limits.py Remove double mocking 2022-08-02 15:31:15 +02:00
test_lock_server.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_microversions.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_migrate_server.py Remove double mocking... again 2022-08-08 19:50:02 +02:00
test_migrations.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_multinic.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_networks.py Fix typos 2022-05-30 17:40:00 +05:30
test_pause_server.py Add test coverage of existing pause server policies 2020-03-31 02:35:11 -05:00
test_quota_classes.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_quotas.py Remove double mocking... again 2022-08-08 19:50:02 +02:00
test_remote_consoles.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_rescue.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_security_groups.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_actions.py Remove double mocking 2022-08-02 15:31:15 +02:00
test_server_diagnostics.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_external_events.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_group_quotas.py Remove double mocking... again 2022-08-08 19:50:02 +02:00
test_server_groups.py Enable new defaults and scope checks by default 2023-01-10 23:37:13 -06:00
test_server_metadata.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_migrations.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_password.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_reset_state.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_start_stop.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_tags.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_server_topology.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_servers.py Remove double mocking... again 2022-08-08 19:50:02 +02:00
test_services.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_shelve.py Remove double mocking 2022-08-02 15:31:15 +02:00
test_simple_tenant_usage.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_snapshots.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_suspend_server.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_tenant_networks.py Use unittest.mock instead of third party mock 2022-08-01 17:46:26 +02:00
test_urlmap.py tests: Remove '_FakeImageService' 2020-09-16 11:31:23 +01:00
test_versions.py Allow versioned discovery unauthenticated 2020-04-03 21:24:28 +00:00
test_volumes.py Remove double mocking... again 2022-08-08 19:50:02 +02:00