summaryrefslogtreecommitdiff
path: root/tests/db_utils/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db_utils/tests.py')
-rw-r--r--tests/db_utils/tests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/db_utils/tests.py b/tests/db_utils/tests.py
index 2a1cec0365..3ce8e82cd3 100644
--- a/tests/db_utils/tests.py
+++ b/tests/db_utils/tests.py
@@ -57,8 +57,9 @@ class LoadBackendTests(SimpleTestCase):
def test_load_backend_invalid_name(self):
msg = (
- "'foo' isn't an available database backend.\n"
- "Try using 'django.db.backends.XXX', where XXX is one of:\n"
+ "'foo' isn't an available database backend or couldn't be "
+ "imported. Check the above exception. To use one of the built-in "
+ "backends, use 'django.db.backends.XXX', where XXX is one of:\n"
" 'mysql', 'oracle', 'postgresql', 'sqlite3'"
)
with self.assertRaisesMessage(ImproperlyConfigured, msg) as cm: