Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 25d9aa8

Browse files
committed
back out extraneous changes
1 parent 91ade0c commit 25d9aa8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/handlers/test_register.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,9 @@ def test_register_not_support_user(self):
466466

467467
def test_invalid_user_id_length(self):
468468
invalid_user_id = "x" * 256
469-
self.get_failure(self.handler.register(localpart=invalid_user_id), SynapseError)
469+
self.get_failure(
470+
self.handler.register_user(localpart=invalid_user_id), SynapseError
471+
)
470472

471473
def test_spam_checker_deny(self):
472474
"""A spam checker can deny registration, which results in an error."""
@@ -560,8 +562,6 @@ async def get_or_create_user(
560562
one will be randomly generated.
561563
Returns:
562564
A tuple of (user_id, access_token).
563-
Raises:
564-
RegistrationError if there was a problem registering.
565565
"""
566566
if localpart is None:
567567
raise SynapseError(400, "Request must include user id")

0 commit comments

Comments
 (0)