summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-13 12:48:22 +0000
committerGitHub <noreply@github.com>2020-01-13 12:48:22 +0000
commit326c893d24e0f03b62bd9d1136a335f329bb8528 (patch)
tree793ea6152daa32a33f5ea953e5c564ffffed4f8c /tests
parentDon't assign numeric IDs for empty usernames (#6690) (diff)
downloadsynapse-326c893d24e0f03b62bd9d1136a335f329bb8528.tar.xz
Kill off RegistrationError (#6691)
This is pretty pointless. Let's just use SynapseError.
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_register.py2
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")