Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified messages to work with unittest2 discovery.

  • Loading branch information...
commit 629d704d5fccc9b4b5e997b06f34a04b502953d1 1 parent 756a70b
@prestontimmons prestontimmons authored carljm committed
View
10 django/contrib/messages/tests/__init__.py
@@ -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
View
0  django/contrib/messages/tests/base.py → django/contrib/messages/tests/test_base.py
File renamed without changes
View
2  django/contrib/messages/tests/cookie.py → django/contrib/messages/tests/test_cookie.py
@@ -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
View
6 django/contrib/messages/tests/fallback.py → ...o/contrib/messages/tests/test_fallback.py
@@ -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)
View
0  django/contrib/messages/tests/middleware.py → ...contrib/messages/tests/test_middleware.py
File renamed without changes
View
0  django/contrib/messages/tests/mixins.py → django/contrib/messages/tests/test_mixins.py
File renamed without changes
View
2  django/contrib/messages/tests/session.py → ...go/contrib/messages/tests/test_session.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.