patrole/patrole_tempest_plugin
Felipe Monteiro 6bffc5c5c6 Skip the deprecated API extensions policy tests
A new policy feature flag called
``[policy_feature_flag].removed_nova_policies_stein``
has been added to Patrole's config to handle Nova API
extension policies removed in Stein [0].

The policy feature flag is applied to tests that validate
response bodies for expected attributes previously returned
for the following policies that passed authorization:

      - os_compute_api:os-config-drive
      - os_compute_api:os-extended-availability-zone
      - os_compute_api:os-extended-status
      - os_compute_api:os-extended-volumes
      - os_compute_api:os-keypairs
      - os_compute_api:os-server-usage
      - os_compute_api:os-flavor-rxtx
      - os_compute_api:os-flavor-access (only from /flavors APIs)
      - os_compute_api:image-size

Note that not all removed policies are included above because
test coverage is missing for them (like
os_compute_api:os-security-groups).

Also fixes test flows associated with image_size tests:

* endpoints are list images with details and show image (not
  list image)
* both tests should check for OS-EXT-IMG-SIZE:size attribute

[0] https://review.openstack.org/#/c/586872/8

Story: 2003501

Change-Id: Ia6f8d255a540f7063beedd80a3ca1833f3987490
2018-08-21 05:53:38 +00:00
..
hacking Bump hacking to 1.1.0 2018-07-10 18:40:19 +00:00
tests Skip the deprecated API extensions policy tests 2018-08-21 05:53:38 +00:00
__init__.py Initial Cookiecutter commit 2017-01-04 15:11:34 -05:00
config.py Skip the deprecated API extensions policy tests 2018-08-21 05:53:38 +00:00
plugin.py feature flag: Policy feature enabled config group 2018-05-19 16:24:33 +01:00
policy_authority.py Improve exception that is raised following invalid service 2018-07-18 01:18:35 +00:00
rbac_authority.py Move RbacAuthority class into separate module 2018-05-31 19:07:15 -04:00
rbac_exceptions.py Improve exception that is raised following invalid service 2018-07-18 01:18:35 +00:00
rbac_rule_validation.py Improve exception that is raised following invalid service 2018-07-18 01:18:35 +00:00
rbac_utils.py Reset ntp_client cached token in override_role context 2018-08-04 11:40:51 -05:00
requirements_authority.py Merge "Add docstrings for requirements_authority module" 2018-06-09 05:10:36 +00:00
version.py Add a page for release 0.1.0 to release notes 2017-06-02 18:44:56 +00:00