summaryrefslogtreecommitdiff
path: root/tests/wsgi/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wsgi/tests.py')
-rw-r--r--tests/wsgi/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/wsgi/tests.py b/tests/wsgi/tests.py
index 57972d2e9a..90397bb742 100644
--- a/tests/wsgi/tests.py
+++ b/tests/wsgi/tests.py
@@ -93,15 +93,15 @@ class GetInternalWSGIApplicationTest(unittest.TestCase):
@override_settings(WSGI_APPLICATION="wsgi.noexist.app")
def test_bad_module(self):
with six.assertRaisesRegex(self,
- ImproperlyConfigured,
- r"^WSGI application 'wsgi.noexist.app' could not be loaded; Error importing.*"):
+ ImproperlyConfigured,
+ r"^WSGI application 'wsgi.noexist.app' could not be loaded; Error importing.*"):
get_internal_wsgi_application()
@override_settings(WSGI_APPLICATION="wsgi.wsgi.noexist")
def test_bad_name(self):
with six.assertRaisesRegex(self,
- ImproperlyConfigured,
- r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Module.*"):
+ ImproperlyConfigured,
+ r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Module.*"):
get_internal_wsgi_application()