nova/nova/tests/unit/cmd
John Garbutt d3b647a000 Remove all discoverable policy rules
We have signaled many times the use of API extensions to change the API
has been deprecated, including:
04f8612aa9

This patch ensures we no longer check any of the discoverable rules when
compiling the list of extensions to list in the API. This stops users
from being able to use policy to hide certain API extensions. This was
never that useful, but now you can't turn any extensions off and we
report the API version number, it is basically useless.

Note the change in the policy cmd unit test is to ensure now there are
no rules that use the ANY rule, we correctly check we return an empty
list of rules that match.

blueprint remove-discoverable-policy-rules

Change-Id: I61d8063708731133177534888ba7f5f05a6bd901
2017-04-26 15:31:37 +01:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_baseproxy.py Clean up stdout/stderr leakage in cmd testing 2016-09-26 06:45:08 -04:00
test_cmd_db_blocks.py Revert "Revert "Make n-net refuse to start unless using CellsV1"" 2016-11-28 14:02:35 -05:00
test_common.py Clean up stdout/stderr leakage in cmd testing 2016-09-26 06:45:08 -04:00
test_idmapshift.py Clean up stdout/stderr leakage in cmd testing 2016-09-26 06:45:08 -04:00
test_nova_api.py Fix wrong unit test about config option enabled_apis 2017-03-24 10:28:24 +08:00
test_policy_check.py Remove all discoverable policy rules 2017-04-26 15:31:37 +01:00
test_status.py nova-status: don't coerce version numbers to floats for comparison 2017-03-20 12:50:02 +02:00