commit | 8d29e70c52fe31e44063aff7a85595db892bbda3 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Wed Apr 11 05:48:52 2018 +0100 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Wed Apr 11 05:48:52 2018 +0100 |
tree | 3a6abe785520ed49779ccc1a985825b3a6ca5c81 | |
parent | c666eafce3a0a2c31ae3c23c42d1b197052616f2 [diff] |
Fix test_show_server_usage not checking expected attributes While os_compute_api:os-server-usage policy in Nova is deprecated [0] the current test in Patrole should be fixed since it is not checking for expected attributes which are conditionally injected following successful policy authorization. See [0] for details on expected attributes. [0] https://github.com/openstack/nova/blob/15f1caf98a46ba0ab3f8365075c564e89f06eef3/nova/policies/server_usage.py#L32 Change-Id: Ibc632cc084c2edb58c336f5ff56d2902bf2ccc96