mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Keep flake happy on int/long test code
This commit is contained in:
@@ -21,7 +21,7 @@ from .mock_requests_backend import RequestsBackendMockAPITestCase, SessionSharin
|
|||||||
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin
|
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin
|
||||||
|
|
||||||
# noinspection PyUnresolvedReferences
|
# noinspection PyUnresolvedReferences
|
||||||
longtype = int if six.PY3 else long
|
longtype = int if six.PY3 else long # NOQA: F821
|
||||||
|
|
||||||
|
|
||||||
@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid.EmailBackend',
|
@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid.EmailBackend',
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ from .mock_requests_backend import RequestsBackendMockAPITestCase, SessionSharin
|
|||||||
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin
|
from .utils import sample_image_content, sample_image_path, SAMPLE_IMAGE_FILENAME, AnymailTestMixin
|
||||||
|
|
||||||
# noinspection PyUnresolvedReferences
|
# noinspection PyUnresolvedReferences
|
||||||
longtype = int if six.PY3 else long
|
longtype = int if six.PY3 else long # NOQA: F821
|
||||||
|
|
||||||
|
|
||||||
@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid_v2.EmailBackend',
|
@override_settings(EMAIL_BACKEND='anymail.backends.sendgrid_v2.EmailBackend',
|
||||||
|
|||||||
Reference in New Issue
Block a user