summaryrefslogtreecommitdiff
path: root/tests/apps
diff options
context:
space:
mode:
Diffstat (limited to 'tests/apps')
-rw-r--r--tests/apps/tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/apps/tests.py b/tests/apps/tests.py
index bf3c25ab0b..00b1aa50b9 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -83,7 +83,10 @@ class AppsTests(SimpleTestCase):
with self.assertRaises(ImportError):
with self.settings(INSTALLED_APPS=["there is no such app"]):
pass
- msg = "Cannot import 'there is no such app'. Check that 'apps.apps.NoSuchApp.name' is correct."
+ msg = (
+ "Cannot import 'there is no such app'. Check that "
+ "'apps.apps.NoSuchApp.name' is correct."
+ )
with self.assertRaisesMessage(ImproperlyConfigured, msg):
with self.settings(INSTALLED_APPS=["apps.apps.NoSuchApp"]):
pass