oslo.limit/oslo_limit/tests
melanie witt c67c9cf0df Move Enforcer caching closer to limit retrieval
In change I22234e0bb6b3a1cecb29a6b99a3afcd02ffdbf5f added a
get_registered_limits() interface but missed making it work with the
Enforcer cache because caching was implemented in a higher layer,
_get_limit() and get_registered_limits() could not make use of
_get_limit().

This moves the caching logic to where limits are retrieved from
keystone, so that get_registered_limits() will use caching and any
interfaces that might be added in the future will be able to benefit
from using the cache.

Closes-Bug: #1964848

Change-Id: I28cdd4d3f4927b94acea3309b36999850cf2ee2a
2022-03-15 01:21:07 +00:00
..
__init__.py Init repo 2018-05-17 18:06:06 +08:00
test_fixture.py Add a test fixture 2021-06-09 08:04:01 -07:00
test_limit.py Move Enforcer caching closer to limit retrieval 2022-03-15 01:21:07 +00:00