mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-21 04:34:18 -05:00
78b99de7c2
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> |
||
---|---|---|
.. | ||
.gitignore | ||
12356.misc | ||
12406.feature | ||
12480.misc | ||
12485.misc | ||
12505.misc | ||
12526.feature | ||
12531.misc | ||
12541.docker | ||
12544.bugfix | ||
12564.misc |