mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-24 10:21:31 -08:00
accounts/tests/test_email_white_list_model.py update function name
This commit is contained in:
parent
b6ab46dd69
commit
88790e4080
@ -10,7 +10,7 @@ class EmailWhiteListModelTestCase(TestCase):
|
|||||||
email_a.save()
|
email_a.save()
|
||||||
EmailWhiteList.objects.create(email='user_b@example.com')
|
EmailWhiteList.objects.create(email='user_b@example.com')
|
||||||
|
|
||||||
def test_email(self):
|
def test_email_white_list_model(self):
|
||||||
white_listed_emails = EmailWhiteList.objects.all()
|
white_listed_emails = EmailWhiteList.objects.all()
|
||||||
|
|
||||||
self.assertTrue(len(white_listed_emails) == 2)
|
self.assertTrue(len(white_listed_emails) == 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user