From 68f08b27737dd667cb7988f028962c12b57964d6 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Tue, 20 Apr 2021 20:42:47 -0700 Subject: [PATCH] update accounts/tests/test_email_white_list_model.py add test for __str__ method --- accounts/tests/test_email_white_list_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/accounts/tests/test_email_white_list_model.py b/accounts/tests/test_email_white_list_model.py index cbeff08..1ea2c15 100644 --- a/accounts/tests/test_email_white_list_model.py +++ b/accounts/tests/test_email_white_list_model.py @@ -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)