horizon/horizon/test/unit/utils
Radomir Dopieralski 3acb28270a Replace @memoized_with_* with @memoized
Since @memoized now uses weakref to delete old cache entries, and no
longer keeps the object passed as parameters alive indefinitely, we
no longer need to treat the Request objects specially. In fact, if
we stop doing it, it should improve memory use, because now all
request-specific caches will be removed as soon as the request
object dies.

I also removed the memoized_with_argconv function, and replaced it
with an explicit function for converting teh parameters in the one
place where it was used.

Change-Id: I710b96a170e429c6ffdf22ad3e552ee6e1c6b7e3
2018-09-25 11:44:06 +02:00
..
__init__.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_babel_extract_angular.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_file_discovery.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_filters.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_functions.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_memoized.py Replace @memoized_with_* with @memoized 2018-09-25 11:44:06 +02:00
test_secret_key.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_units.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00
test_validators.py horizon: Move test files to match corresponding module structure 2017-12-09 21:37:12 +09:00