diff options
author | Lance Bragstad <lbragstad@gmail.com> | 2018-06-28 19:02:46 +0000 |
---|---|---|
committer | Lance Bragstad <lbragstad@gmail.com> | 2018-07-02 17:31:04 +0000 |
commit | 13a4e789bcf5d1e8bb67f92c866355f180260df9 (patch) | |
tree | d991c2e3d3318a9b6c4a550e3310ee0a4c5da65a /releasenotes | |
parent | 8f74e2ba283c2a8ed757088d706c5e02afbe6a73 (diff) | |
download | oslo-policy-13a4e789bcf5d1e8bb67f92c866355f180260df9.tar.gz |
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
Diffstat (limited to 'releasenotes')
0 files changed, 0 insertions, 0 deletions