mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-21 17:11:30 -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):
|
for i, x in enumerate(white_listed_emails):
|
||||||
self.assertTrue(isinstance(white_listed_emails[i].pk, UUID))
|
self.assertTrue(isinstance(white_listed_emails[i].pk, UUID))
|
||||||
self.assertTrue(isinstance(white_listed_emails[i].email, str))
|
self.assertTrue(isinstance(white_listed_emails[i].email, str))
|
||||||
|
self.assertEquals(str(x), x.email)
|
||||||
|
Loading…
Reference in New Issue
Block a user