summary refs log tree commit diff
path: root/tests/rest/client/test_presence.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prefer `make_awaitable` over `defer.succeed` in tests (#12505)Sean Quah2022-04-271-2/+2
| | | | | | | | | | | When configuring the return values of mocks, prefer awaitables from `make_awaitable` over `defer.succeed`. `Deferred`s are only awaitable once, so it is inappropriate for a mock to return the same `Deferred` multiple times. Also update `run_in_background` to support functions that return arbitrary awaitables. Signed-off-by: Sean Quah <seanq@element.io>
* Add type hints to `tests/rest/client` (#12072)Dirk Klimpel2022-02-241-6/+9
|
* Use direct references for configuration variables (part 6). (#10916)Patrick Cloke2021-09-291-1/+1
|
* Flatten tests/rest/client/{v1,v2_alpha} too (#10667)David Robertson2021-08-201-0/+76