mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-12-22 04:52:49 -08:00
update accounts/tests/test_email_white_list_model.py add test for
__str__ method
This commit is contained in:
parent
058687d710
commit
68f08b2773
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user