mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-21 20:31:06 -05:00
Clean up all imports
* Use relative imports within djrill package * Standardize ordering * Remove absolute_import (it's standard in all python versions we now support)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from djrill.tests.test_mandrill_send import *
|
||||
from djrill.tests.test_mandrill_send_template import *
|
||||
from djrill.tests.test_mandrill_session_sharing import *
|
||||
from djrill.tests.test_mandrill_subaccounts import *
|
||||
from djrill.tests.test_mandrill_webhook import *
|
||||
|
||||
from djrill.tests.test_mandrill_integration import *
|
||||
from .test_mandrill_integration import *
|
||||
from .test_mandrill_send import *
|
||||
from .test_mandrill_send_template import *
|
||||
from .test_mandrill_session_sharing import *
|
||||
from .test_mandrill_subaccounts import *
|
||||
from .test_mandrill_webhook import *
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import json
|
||||
from mock import patch
|
||||
import requests
|
||||
import six
|
||||
from mock import patch
|
||||
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
import unittest
|
||||
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import json
|
||||
import os
|
||||
import six
|
||||
import unittest
|
||||
from base64 import b64decode
|
||||
from datetime import date, datetime, timedelta, tzinfo
|
||||
from decimal import Decimal
|
||||
from email.mime.base import MIMEBase
|
||||
from email.mime.image import MIMEImage
|
||||
import json
|
||||
import os
|
||||
import six
|
||||
import unittest
|
||||
|
||||
from django.core import mail
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
@@ -19,7 +19,8 @@ from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
from djrill import MandrillAPIError, NotSupportedByMandrillError
|
||||
from djrill.tests.mock_backend import DjrillBackendMockAPITestCase
|
||||
|
||||
from .mock_backend import DjrillBackendMockAPITestCase
|
||||
|
||||
|
||||
def decode_att(att):
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
from django.core import mail
|
||||
|
||||
from djrill import MandrillAPIError
|
||||
from djrill.tests.mock_backend import DjrillBackendMockAPITestCase
|
||||
|
||||
from .mock_backend import DjrillBackendMockAPITestCase
|
||||
|
||||
|
||||
class DjrillMandrillSendTemplateTests(DjrillBackendMockAPITestCase):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from django.core import mail
|
||||
from django.test.utils import override_settings
|
||||
|
||||
from djrill.tests.mock_backend import DjrillBackendMockAPITestCase
|
||||
from .mock_backend import DjrillBackendMockAPITestCase
|
||||
|
||||
|
||||
class DjrillMandrillSubaccountTests(DjrillBackendMockAPITestCase):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from base64 import b64encode
|
||||
import hashlib
|
||||
import hmac
|
||||
import json
|
||||
from base64 import b64encode
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
|
||||
Reference in New Issue
Block a user