mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed E125 pep8 warnings
This commit is contained in:
committed by
Tim Graham
parent
d1df395f3a
commit
7477a4ffde
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user