oslo.policy/oslo_policy/tests
Lance Bragstad 9641e5ca0d Only alias when policy names change
Previously, oslo.policy would generate policy files with aliased names
in the event the name was changing for backwards compatibility. This
isn't needed if the name isn't changing and only the check string is
changing.

This patch adds a conditional to the generator logic that only aliases
the old name to the new name if the name is changing. Otherwise, it
only outputs comments about the deprecation.

Co-Authored-By: Ben Nemec <bnemec@redhat.com>
Change-Id: I89ff60354e4751a5096832023441d2e6166db92a
2019-07-25 19:17:33 +00:00
..
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
base.py Move _capture_stdout to a common place 2018-08-07 19:49:55 +00:00
test_checks.py http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
test_external.py http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
test_fixtures.py External Policy hook should support SSL 2017-09-27 13:08:26 -04:00
test_generator.py Only alias when policy names change 2019-07-25 19:17:33 +00:00
test_opts.py Fix sample config value when set_defaults is used 2019-01-07 18:11:41 +00:00
test_parser.py Change assertTrue(isinstance()) by optimal assert 2016-10-08 09:46:47 +08:00
test_policy.py Merge "Add domain scope support for scope types" 2018-12-04 22:37:51 +00:00
test_shell.py Fixes file access using with statements. 2019-01-03 12:30:36 +00:00
test_sphinxext.py Update sphinxext to include scope_types in docs 2018-06-01 19:50:53 +00:00
test_sphinxpolicygen.py make the sphinxpolicygen extension handle multiple input/output files 2018-04-30 10:11:21 -04:00
token_fixture.py Fix typo of 'available' in token_fixture.py 2015-07-14 16:03:34 +09:00