Doug Hellmann b046f0552e Create the temporary files needed for tests
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
2015-02-17 18:25:54 -05:00
2015-02-04 16:37:24 -05:00
2015-02-17 00:37:33 +00:00
2015-02-05 20:40:00 +00:00
2015-01-28 15:34:29 -05:00
2015-02-06 06:54:57 +00:00

oslo.policy

RBAC policy enforcement library for OpenStack

Description
Rules engine to enforce access control policy
Readme 6.6 MiB
Languages
Python 100%