update accounts/tests/test_email_white_list_model.py add test for

__str__ method
This commit is contained in:
Trent Palmer 2021-04-20 20:42:47 -07:00
parent 058687d710
commit 68f08b2773

View File

@ -21,3 +21,4 @@ class EmailWhiteListModelTestCase(TestCase):
for i, x in enumerate(white_listed_emails):
self.assertTrue(isinstance(white_listed_emails[i].pk, UUID))
self.assertTrue(isinstance(white_listed_emails[i].email, str))
self.assertEquals(str(x), x.email)