diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-01-13 12:48:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-13 12:48:22 +0000 |
commit | 326c893d24e0f03b62bd9d1136a335f329bb8528 (patch) | |
tree | 793ea6152daa32a33f5ea953e5c564ffffed4f8c /tests/handlers/test_register.py | |
parent | Don't assign numeric IDs for empty usernames (#6690) (diff) | |
download | synapse-326c893d24e0f03b62bd9d1136a335f329bb8528.tar.xz |
Kill off RegistrationError (#6691)
This is pretty pointless. Let's just use SynapseError.
Diffstat (limited to 'tests/handlers/test_register.py')
-rw-r--r-- | tests/handlers/test_register.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py index 1e9ba3a201..e2915eb7b1 100644 --- a/tests/handlers/test_register.py +++ b/tests/handlers/test_register.py @@ -269,8 +269,6 @@ class RegistrationTestCase(unittest.HomeserverTestCase): one will be randomly generated. Returns: A tuple of (user_id, access_token). - Raises: - RegistrationError if there was a problem registering. """ if localpart is None: raise SynapseError(400, "Request must include user id") |