
Rather than keeping test input files in git, create them on the fly as needed. This allows us to streamline one or two tests that modify the files and then try to restore their old contents, and it also ensures that looking at a given test it is clear which files are really being used. This change also updates the implementation of some tests that were counting log calls to see how many files were loaded by making the Enforcer track the files it loads so we can look at the list explicitly. This gives us verification that the files we care about are the ones being loaded, and is less brittle in case we change the logging structure within the policy module. Change-Id: I109b3d5afc622df7e5e7a12d06c4fb1baad18b1a
oslo.policy
RBAC policy enforcement library for OpenStack
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.policy
- Source: http://git.openstack.org/cgit/openstack/oslo.policy
- Bugs: http://bugs.launchpad.net/oslo.policy
Description
Languages
Python
100%