From a6e70816f3daa6f867eac7cc16de9196c375b666 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Mon, 1 Jul 2024 13:42:44 -0500 Subject: [PATCH] adjust `test_reset_email_user_deleted` for `None` instead of str --- test/unit/app/managers/test_UserManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/app/managers/test_UserManager.py b/test/unit/app/managers/test_UserManager.py index b8286838d103..fa93a42a03bc 100644 --- a/test/unit/app/managers/test_UserManager.py +++ b/test/unit/app/managers/test_UserManager.py @@ -240,7 +240,7 @@ def test_reset_email_user_deleted(self): self.user_manager.delete(user) assert user.deleted is True message = self.user_manager.send_reset_email(self.trans, {"email": user_email}) - assert message == "Failed to produce password reset token. User not found." + assert message == None def test_get_user_by_identity(self): # return None if username/email not found