File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ def test_request_password_reset(): # type: () -> None
263263 User .request_password_reset ('wow@leancloud.rocks' )
264264 except LeanCloudError as e :
265265 assert u'请不要往同一个邮件地址发送太多邮件。' in e .error \
266- or 'Too many emails sent to the same email address ' in str (e )
266+ or 'Too many emails' in str (e )
267267
268268
269269@with_setup (get_setup_func ())
@@ -273,8 +273,8 @@ def test_request_email_verify(): # type: () -> None
273273 except LeanCloudError as e :
274274 assert '邮件验证功能' in str (e ) \
275275 or '请不要往同一个邮件地址发送太多邮件' in str (e ) \
276- or 'Too many emails sent to the same email address ' in str (e )\
277- or 'Please enable verifying user email option in application settings' in str (e )
276+ or 'Too many emails' in str (e )\
277+ or 'Please enable the option to verify user emails in application settings. ' in str (e )
278278
279279
280280@with_setup (get_setup_func ())
You can’t perform that action at this time.
0 commit comments