diff --git a/django/contrib/messages/api.py b/django/contrib/messages/api.py
a
|
b
|
|
4 | 4 | |
5 | 5 | __all__ = ( |
6 | 6 | 'add_message', 'get_messages', |
| 7 | 'get_level', 'set_level', |
7 | 8 | 'debug', 'info', 'success', 'warning', 'error', |
8 | 9 | ) |
9 | 10 | |
diff --git a/django/contrib/messages/tests/base.py b/django/contrib/messages/tests/base.py
a
|
b
|
|
2 | 2 | from django.test import TestCase |
3 | 3 | from django.conf import settings |
4 | 4 | from django.utils.translation import ugettext_lazy |
5 | | from django.contrib.messages import constants, utils |
6 | | from django.contrib.messages.api import MessageFailure, get_level, set_level |
| 5 | from django.contrib.messages import constants, utils, get_level, set_level |
| 6 | from django.contrib.messages.api import MessageFailure |
7 | 7 | from django.contrib.messages.storage import default_storage, base |
8 | 8 | from django.contrib.messages.storage.base import Message |
9 | 9 | from django.core.urlresolvers import reverse |