def setUp(self): UserModel = get_user_model() UserModel.objects.create_user( username='******', email='*****@*****.**', password='******' ) self.backend = EmailBackend()
def setUp(self): UserModel = get_user_model() UserModel.objects.create_user(username='******', email='*****@*****.**', password='******') UserModel.objects.create_user(username='******', email='*****@*****.**', password='******') self.backend = EmailBackend()