email verification sent for users loaded thru CSV
This commit is contained in:
@@ -6,6 +6,7 @@ import base64
|
||||
import csv
|
||||
|
||||
from django.test import TestCase
|
||||
from django.core import mail
|
||||
|
||||
from rest_framework.test import APITestCase
|
||||
from rest_framework import status
|
||||
@@ -457,6 +458,7 @@ class LoadCoopManagerTestCase(APITestCase):
|
||||
# check for object creation
|
||||
self.assertEquals(company_count + 5, self.company_model.objects.count())
|
||||
self.assertEquals(user_count + 5, self.user_model.objects.count())
|
||||
self.assertEquals(5, len(mail.outbox))
|
||||
|
||||
def test_auth_user_cannot_load_csv(self):
|
||||
company_count = self.company_model.objects.count()
|
||||
|
||||
Reference in New Issue
Block a user