commit | 529988b18131b244c61095abb07f3d0d597f5347 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Thu Jul 13 05:28:14 2017 +0100 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Thu Jul 13 05:28:14 2017 +0100 |
tree | 9f440181fe4bcf32c560d616d7b08809861e0eb0 | |
parent | 8b8876ee0b72812a9e879e9a9954823611422d73 [diff] |
Correct policy action for check_endpoint_group test Currently ``check_endpoint_group`` test is testing the wrong policy action causing the test to be skipped in the gates [0]. This commit corrects the policy action to what is actually enforced in the code [1]. [0] http://logs.openstack.org/10/483110/1/check/gate-tempest-dsvm-patrole-member-ubuntu-xenial/f821202/console.html#_2017-07-12_22_43_39_986182 [1] https://github.com/openstack/keystone/blob/a43d5a6893a5753f8567206032e779930ddd4321/keystone/common/policies/endpoint_group.py#L37 Change-Id: I0cb7c513513674de3bddb7595899607780ae45b6
diff --git a/patrole_tempest_plugin/tests/api/identity/v3/test_ep_filter_groups_rbac.py b/patrole_tempest_plugin/tests/api/identity/v3/test_ep_filter_groups_rbac.py index e7b73b6..00c9f55 100644 --- a/patrole_tempest_plugin/tests/api/identity/v3/test_ep_filter_groups_rbac.py +++ b/patrole_tempest_plugin/tests/api/identity/v3/test_ep_filter_groups_rbac.py
@@ -73,7 +73,7 @@ @decorators.idempotent_id('5c16368d-1485-4c28-9803-db3fa3510623') @rbac_rule_validation.action(service="keystone", - rule="identity:check_endpoint_group") + rule="identity:get_endpoint_group") def test_check_endpoint_group(self): self.rbac_utils.switch_role(self, toggle_rbac_role=True) self.endpoint_groups_client.check_endpoint_group(