mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-20 20:44:53 -04:00
Kill off RegistrationError (#6691)
This is pretty pointless. Let's just use SynapseError.
This commit is contained in:
parent
2d07c73777
commit
326c893d24
4 changed files with 4 additions and 17 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue