diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-10 11:13:15 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-10 14:40:15 +0000 |
commit | 257ef2c727abbb289c460b930e8bac18ab80e053 (patch) | |
tree | 641bc2cc6b2c5244c0acf730486562e08a0042cd /tests | |
parent | Port handlers.account_data to async/await. (diff) | |
download | synapse-257ef2c727abbb289c460b930e8bac18ab80e053.tar.xz |
Port handlers.account_validity to async/await.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rest/client/v2_alpha/test_register.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py index c0d0d2b44e..d0c997e385 100644 --- a/tests/rest/client/v2_alpha/test_register.py +++ b/tests/rest/client/v2_alpha/test_register.py @@ -391,9 +391,8 @@ class AccountValidityRenewalByEmailTestCase(unittest.HomeserverTestCase): # Email config. self.email_attempts = [] - def sendmail(*args, **kwargs): + async def sendmail(*args, **kwargs): self.email_attempts.append((args, kwargs)) - return config["email"] = { "enable_notifs": True, |