anonymousland-synapse/tests/crypto
Richard van der Hoff fec6f9ac17
Fix occasional "Re-starting finished log context" from keyring (#8398)
* Fix test_verify_json_objects_for_server_awaits_previous_requests

It turns out that this wasn't really testing what it thought it was testing
(in particular, `check_context` was turning failures into success, which was
making the tests pass even though it wasn't clear they should have been.

It was also somewhat overcomplex - we can test what it was trying to test
without mocking out perspectives servers.

* Fix warnings about finished logcontexts in the keyring

We need to make sure that we finish the key fetching magic before we run the
verifying code, to ensure that we don't mess up our logcontexts.
2020-09-25 12:29:54 +01:00
..
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_event_signing.py Add a make_event_from_dict method (#6858) 2020-02-07 15:30:04 +00:00
test_keyring.py Fix occasional "Re-starting finished log context" from keyring (#8398) 2020-09-25 12:29:54 +01:00