synapse-old/tests/storage
Richard van der Hoff 95f21c7a66 Fix caching of remote servers' signature keys
The `@cached` decorator on `KeyStore._get_server_verify_key` was missing
its `num_args` parameter, which meant that it was returning the wrong key for
any server which had more than one recorded key.

By way of a fix, change the default for `num_args` to be *all* arguments. To
implement that, factor out a common base class for `CacheDescriptor` and `CacheListDescriptor`.
2017-03-22 15:11:30 +00:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
event_injector.py Add filter param to /messages API 2016-07-14 16:30:56 +01:00
test__base.py Speed up cache size calculation 2017-01-17 11:18:13 +00:00
test_appservice.py Implement device key caching over federation 2017-01-26 16:07:24 +00:00
test_background_update.py PEP8 2016-07-25 12:25:06 +01:00
test_base.py Don't require config to create database 2016-04-06 14:15:45 +01:00
test_client_ips.py GET /devices endpoint 2016-07-20 16:42:32 +01:00
test_devices.py Implement updating devices 2016-07-26 07:35:48 +01:00
test_directory.py copyrights 2016-01-07 04:26:29 +00:00
test_end_to_end_keys.py Fix unit tests 2017-01-30 17:11:24 +00:00
test_event_push_actions.py Aggregate event push actions 2017-02-14 13:39:41 +00:00
test_events.py Add filter param to /messages API 2016-07-14 16:30:56 +01:00
test_keys.py Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
test_presence.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
test_profile.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_redaction.py Remove some unused functions (#711) 2016-04-08 14:01:56 +01:00
test_registration.py fix imports 2016-11-30 17:45:49 +00:00
test_room.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_roommember.py Fix unit tests 2016-08-26 15:40:27 +01:00