This commit is contained in:
Rachid Mrad 2023-12-14 13:47:20 -05:00
parent 04d3b92f96
commit c02f74cf67
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -654,7 +654,7 @@ class TestUser(TestCase):
"""A new user who's neither transitioned nor invited should """A new user who's neither transitioned nor invited should
return True when tested with class method needs_identity_verification""" return True when tested with class method needs_identity_verification"""
self.assertTrue(User.needs_identity_verification(self.user.email, self.user.username)) self.assertTrue(User.needs_identity_verification(self.user.email, self.user.username))
def test_check_domain_invitations_on_login_caps_email(self): def test_check_domain_invitations_on_login_caps_email(self):
"""A DomainInvitation with an email address with capital letters should match """A DomainInvitation with an email address with capital letters should match
a User record whose email address is not in caps""" a User record whose email address is not in caps"""
@ -713,4 +713,3 @@ class TestContact(TestCase):
# Updating the contact's email does not propagate # Updating the contact's email does not propagate
self.assertEqual(self.contact.email, "joey.baloney@diaperville.com") self.assertEqual(self.contact.email, "joey.baloney@diaperville.com")
self.assertEqual(self.user.email, "mayor@igorville.gov") self.assertEqual(self.user.email, "mayor@igorville.gov")