renamed email template file

This commit is contained in:
Sam
2021-02-22 13:30:17 +00:00
parent c9d3f66fb8
commit 41c07e711a
4 changed files with 2 additions and 1 deletions

View File

@@ -263,7 +263,6 @@ class CompanyViewSetTest(APITestCase):
self.assertFalse(self.model.objects.filter(id=instance.pk).exists()) self.assertFalse(self.model.objects.filter(id=instance.pk).exists())
class MyCompanyViewTest(APITestCase): class MyCompanyViewTest(APITestCase):
"""CompanyViewset tests """CompanyViewset tests
""" """

View File

@@ -1,4 +1,5 @@
import logging import logging
import json
from django.shortcuts import render, get_object_or_404 from django.shortcuts import render, get_object_or_404
from django.core.mail import EmailMessage from django.core.mail import EmailMessage

View File

@@ -32,6 +32,7 @@ def get_tokens_for_user(user):
'access': str(refresh.access_token), 'access': str(refresh.access_token),
} }
def get_auth_token(client, email, password): def get_auth_token(client, email, password):
credentials = { credentials = {
'email': email, 'email': email,