mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
adds updated module name
This commit is contained in:
parent
5177ea5c65
commit
d94faeeee7
50 changed files with 224 additions and 218 deletions
|
|
@ -2,9 +2,9 @@ import copy
|
|||
|
||||
from unittest import mock
|
||||
|
||||
from django_mailbox import models, utils
|
||||
from django_mailbox.models import Message
|
||||
from django_mailbox.tests.base import EmailMessageTestCase
|
||||
from django_mailbox2 import models, utils
|
||||
from django_mailbox2.models import Message
|
||||
from django_mailbox2.tests.base import EmailMessageTestCase
|
||||
|
||||
|
||||
__all__ = ["TestMessageFlattening"]
|
||||
|
|
@ -81,7 +81,7 @@ class TestMessageFlattening(EmailMessageTestCase):
|
|||
)
|
||||
default_settings = utils.get_settings()
|
||||
|
||||
with mock.patch("django_mailbox.utils.get_settings") as get_settings:
|
||||
with mock.patch("django_mailbox2.utils.get_settings") as get_settings:
|
||||
altered = copy.deepcopy(default_settings)
|
||||
altered["strip_unallowed_mimetypes"] = True
|
||||
altered["allowed_mimetypes"] = ["text/plain"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue