
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
Team and repository tags
oslo.policy
The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.policy/latest/
- Source: https://git.openstack.org/cgit/openstack/oslo.policy
- Bugs: https://bugs.launchpad.net/oslo.policy
Description
Languages
Python
100%