synapse-old/tests/util
Richard van der Hoff 903d11c43a
Add `DeferredCache.get_immediate` method (#8568)
* Add `DeferredCache.get_immediate` method

A bunch of things that are currently calling `DeferredCache.get` are only
really interested in the result if it's completed. We can optimise and simplify
this case.

* Remove unused 'default' parameter to DeferredCache.get()

* another get_immediate instance
2020-10-19 15:00:12 +01:00
..
caches Add `DeferredCache.get_immediate` method (#8568) 2020-10-19 15:00:12 +01:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_async_utils.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
test_dict_cache.py Run black. 2018-08-10 23:54:09 +10:00
test_expiring_cache.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
test_file_consumer.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
test_itertools.py Log saml assertions rather than the whole response 2020-01-16 22:26:34 +00:00
test_linearizer.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
test_logcontext.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
test_logformatter.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
test_lrucache.py Make LruCache register its own metrics (#8561) 2020-10-16 15:51:57 +01:00
test_ratelimitutils.py Fixes to the federation rate limiter (#5621) 2019-07-05 11:10:19 +01:00
test_retryutils.py Reduce run-times of tests by advancing the reactor less (#7757) 2020-08-27 11:39:53 +01:00
test_rwlock.py Convert ReadWriteLock to async/await. (#8202) 2020-08-28 16:47:11 -04:00
test_stream_change_cache.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
test_stringutils.py Remove : from allowed client_secret chars (#8101) 2020-08-18 14:14:27 +01:00
test_threepids.py Fix inconsistent handling of upper and lower cases of email addresses. (#7021) 2020-07-03 14:03:13 +01:00
test_treecache.py run isort 2018-07-09 16:09:20 +10:00
test_wheel_timer.py run isort 2018-07-09 16:09:20 +10:00