anonymousland-synapse/tests
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
..
api Optimise state resolution 2017-01-17 13:22:19 +00:00
appservice Make notify_interested_services faster 2016-08-17 17:20:50 +01:00
config Add function to load config without generating it 2016-06-09 18:50:38 +01:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Optimise state resolution 2017-01-17 13:22:19 +00:00
handlers Modify test_user_sync so it doesn't look at last_active_ts over last_user_sync_ts 2017-03-15 15:38:57 +00:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Fix unit test 2017-03-20 14:03:58 +00:00
rest Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
storage Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
util Fix caching of remote servers' signature keys 2017-03-22 15:11:30 +00:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Tests 2016-04-06 10:12:30 +01:00
test_preview.py Fix crash in url preview when html tag has no text 2016-12-14 22:38:18 +01:00
test_state.py Correctly handle the difference between prev and current state 2016-08-31 14:26:22 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Slightly saner logging for unittests 2016-07-25 12:12:47 +01:00
utils.py Fix unit tests 2016-12-09 16:48:48 +00:00