Lance Bragstad 13a4e789bc Pass dictionary as creds in policy tests
According to the documentation strings for the ``enforce`` method, the
``creds`` parameter is expected to be a dictionary. The implementation
also treats it like a dictionary.

This commit updates three of the tests in test_policy.py to pass a
dictionary into enforce instead of just a string called 'creds'.

Change-Id: Id05a41b84123aeb57b193bba97cb9e8442587a51
2018-07-02 17:31:04 +00:00
2018-03-24 21:02:41 -04:00
2017-04-08 23:36:11 +08:00
2018-04-21 11:02:31 +08:00
2017-03-03 03:07:08 +00:00
2018-07-02 17:30:07 +00:00

Team and repository tags

image

oslo.policy

Latest Version

Downloads

The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services.

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