summaryrefslogtreecommitdiff
path: root/tests/apps
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-04 08:08:27 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit7119f40c9881666b6f9b5cf7df09ee1d21cc8344 (patch)
treefa50869f5614295f462d9bf77fec59365c621609 /tests/apps
parent9c19aff7c7561e3a82978a272ecdaad40dda5c00 (diff)
Refs #33476 -- Refactored code to strictly match 88 characters line length.
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 efb60d187e..278caa3584 100644
--- a/tests/apps/tests.py
+++ b/tests/apps/tests.py
@@ -78,7 +78,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