def METHOD_NAME(self, reactor: MemoryReactor, clock: Clock) -> HomeServer:
    self.hs = self.setup_test_homeserver()
    self.hs.config.registration.enable_registration = True
    self.hs.config.registration.registrations_require_3pid = []
    self.hs.config.registration.auto_join_rooms = []
    self.hs.config.captcha.enable_registration_captcha = False
    return self.hs