commit | 27e0c8ed4ec17611df886057f4d7ab4bfb0532d8 | [log] [tgz] |
---|---|---|
author | deepak_mourya <deepak.mourya@nectechnologies.in> | Fri Dec 15 15:01:35 2017 +0530 |
committer | Deepak Mourya <deepak.mourya@nectechnologies.in> | Fri Dec 15 11:42:01 2017 +0000 |
tree | 0df0b985b8e6034d3a04deecd94f3d52eb081342 | |
parent | a8c25f045079b6859cc307684ef5ebbfaeb0d05a [diff] |
"get_association_qos" test using wrong policy rule Associate list function should use under qos_specs_manage:get_all policy rule [0] [0]https://github.com/openstack/cinder/blob/master/cinder/policies/qos_specs.py#L40 Change-Id: I91ff96a85e9162af1f9510db1431a38fc2e3ea13
diff --git a/patrole_tempest_plugin/tests/api/volume/test_qos_rbac.py b/patrole_tempest_plugin/tests/api/volume/test_qos_rbac.py index 3ac59be..adfd397 100644 --- a/patrole_tempest_plugin/tests/api/volume/test_qos_rbac.py +++ b/patrole_tempest_plugin/tests/api/volume/test_qos_rbac.py
@@ -64,7 +64,8 @@ self.qos_client.show_qos(qos['id'])['qos_specs'] @rbac_rule_validation.action(service="cinder", - rule="volume_extension:qos_specs_manage:get") + rule="volume_extension:" + "qos_specs_manage:get_all") @decorators.idempotent_id('ff1e98f3-d456-40a9-96d4-c7e4a55dcffa') def test_get_association_qos(self): qos = self._create_test_qos_specs()