summary refs log tree commit diff
path: root/tests/replication/_base.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't require hiredis to run unit tests (#8680)Erik Johnston2020-10-291-1/+10
|
* Tell Black to format code for Python 3.5 (#8664)Dan Callahan2020-10-271-1/+1
| | | | | | | | This allows trailing commas in multi-line arg lists. Minor, but we might as well keep our formatting current with regard to our minimum supported Python version. Signed-off-by: Dan Callahan <danc@element.io>
* Solidify the HomeServer constructor. (#8515)Jonathan de Jong2020-10-151-2/+2
| | | | | | This implements a more standard API for instantiating a homeserver and moves some of the dependency injection into the test suite. More concretely this stops using `setattr` on all `kwargs` passed to `HomeServer`.
* Add unit test for event persister sharding (#8433)Erik Johnston2020-10-021-21/+203
|
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-3/+3
|
* Fix client reader sharding tests (#7853)Erik Johnston2020-07-151-3/+165
| | | | | | | | | | | | | | | * Fix client reader sharding tests * Newsfile * Fix typing * Update changelog.d/7853.misc Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Move mocking of http_client to tests Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Clean up replication unit tests. (#7490)Erik Johnston2020-05-131-0/+307