mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Modified messages to work with unittest2 discovery.
This commit is contained in:
parent
756a70b48d
commit
629d704d5f
@ -1,5 +1,5 @@
|
||||
from django.contrib.messages.tests.cookie import CookieTest
|
||||
from django.contrib.messages.tests.fallback import FallbackTest
|
||||
from django.contrib.messages.tests.middleware import MiddlewareTest
|
||||
from django.contrib.messages.tests.session import SessionTest
|
||||
from django.contrib.messages.tests.mixins import SuccessMessageMixinTests
|
||||
from django.contrib.messages.tests.test_cookie import CookieTest
|
||||
from django.contrib.messages.tests.test_fallback import FallbackTest
|
||||
from django.contrib.messages.tests.test_middleware import MiddlewareTest
|
||||
from django.contrib.messages.tests.test_session import SessionTest
|
||||
from django.contrib.messages.tests.test_mixins import SuccessMessageMixinTests
|
||||
|
@ -1,7 +1,7 @@
|
||||
import json
|
||||
|
||||
from django.contrib.messages import constants
|
||||
from django.contrib.messages.tests.base import BaseTest
|
||||
from django.contrib.messages.tests.test_base import BaseTest
|
||||
from django.contrib.messages.storage.cookie import (CookieStorage,
|
||||
MessageEncoder, MessageDecoder)
|
||||
from django.contrib.messages.storage.base import Message
|
@ -1,10 +1,10 @@
|
||||
from django.contrib.messages import constants
|
||||
from django.contrib.messages.storage.fallback import (FallbackStorage,
|
||||
CookieStorage)
|
||||
from django.contrib.messages.tests.base import BaseTest
|
||||
from django.contrib.messages.tests.cookie import (set_cookie_data,
|
||||
from django.contrib.messages.tests.test_base import BaseTest
|
||||
from django.contrib.messages.tests.test_cookie import (set_cookie_data,
|
||||
stored_cookie_messages_count)
|
||||
from django.contrib.messages.tests.session import (set_session_data,
|
||||
from django.contrib.messages.tests.test_session import (set_session_data,
|
||||
stored_session_messages_count)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
from django.contrib.messages import constants
|
||||
from django.contrib.messages.tests.base import BaseTest
|
||||
from django.contrib.messages.tests.test_base import BaseTest
|
||||
from django.contrib.messages.storage.base import Message
|
||||
from django.contrib.messages.storage.session import SessionStorage
|
||||
from django.utils.safestring import SafeData, mark_safe
|
Loading…
Reference in New Issue
Block a user