synapse/changelog.d
Sean Quah 78b99de7c2
Prefer make_awaitable over defer.succeed in tests (#12505)
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>
2022-04-27 14:58:26 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
12356.misc Make scripts-dev pass mypy --disallow-untyped-defs (#12356) 2022-04-27 13:10:31 +00:00
12406.feature Add a module API to allow modules to edit push rule actions (#12406) 2022-04-27 13:55:33 +00:00
12480.misc Use supervisord to supervise Postgres and Caddy in the Complement image. (#12480) 2022-04-27 14:39:41 +01:00
12485.misc Add some type hints to datastore (#12485) 2022-04-27 13:05:00 +01:00
12505.misc Prefer make_awaitable over defer.succeed in tests (#12505) 2022-04-27 14:58:26 +01:00
12526.feature Add option to enable token registration without requiring 3pids (#12526) 2022-04-27 12:57:53 +00:00
12531.misc Remove unused # type: ignores (#12531) 2022-04-27 14:03:44 +01:00
12541.docker Mark Dockerfile as requiring BuildKit (#12541) 2022-04-26 15:31:52 +01:00
12544.bugfix Bound ephemeral events by key (#12544) 2022-04-26 20:14:21 +01:00
12564.misc Consistently use collections.abc.Mapping to check frozendict. (#12564) 2022-04-27 09:00:07 -04:00