MatrixSynapse/tests/util
Patrick Cloke 690cb4f3b3
Allow for ignoring some arguments when caching. (#12189)
* `@cached` can now take an `uncached_args` which is an iterable of names to not use in the cache key.
* Requires `@cached`, @cachedList` and `@lru_cache` to use keyword arguments for clarity.
* Asserts that keyword-only arguments in cached functions are not accepted. (I tested this briefly and I don't believe this works properly.)
2022-03-09 18:07:41 +00:00
..
caches Allow for ignoring some arguments when caching. (#12189) 2022-03-09 18:07:41 +00:00
__init__.py
test_async_helpers.py Add test for `ObservableDeferred`'s cancellation behaviour (#12149) 2022-03-04 13:10:05 +00:00
test_batching_queue.py Rewrite the KeyRing (#10035) 2021-06-02 16:37:59 +01:00
test_check_dependencies.py Fix a bug introduced in 1.54.0rc1 which meant that Synapse would refuse to start if pre-release versions of dependencies were installed. (#12177) 2022-03-08 10:47:28 +00:00
test_dict_cache.py
test_expiring_cache.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_file_consumer.py
test_itertools.py Use inline type hints in `tests/` (#10350) 2021-07-13 11:52:58 +01:00
test_linearizer.py
test_logcontext.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_logformatter.py
test_lrucache.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_ratelimitutils.py Use direct references for configuration variables (part 4). (#10893) 2021-09-23 12:03:01 -04:00
test_retryutils.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
test_rwlock.py Fix rare error in `ReadWriteLock` when writers complete immediately (#12105) 2022-03-01 15:27:15 +00:00
test_stream_change_cache.py
test_stringutils.py
test_threepids.py
test_treecache.py Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
test_wheel_timer.py