summaryrefslogtreecommitdiff
path: root/tests/wsgi
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2013-02-26 13:19:18 +0100
committerFlorian Apolloner <florian@apolloner.eu>2013-02-26 14:36:57 +0100
commit33836cf88dd08ebd66d19ad7f732b12f089abd27 (patch)
tree6a812006f1f3a1f3dc7e51e4d0417ca8aadc86ef /tests/wsgi
parent737a5d71f084ac804519c0bac33e2498d712bbb7 (diff)
Renamed some tests and removed references to modeltests/regressiontests.
Diffstat (limited to 'tests/wsgi')
-rw-r--r--tests/wsgi/tests.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/wsgi/tests.py b/tests/wsgi/tests.py
index 0b8c9d2b67..9b7ee68afd 100644
--- a/tests/wsgi/tests.py
+++ b/tests/wsgi/tests.py
@@ -10,7 +10,7 @@ from django.utils import six, unittest
class WSGITest(TestCase):
- urls = "regressiontests.wsgi.urls"
+ urls = "wsgi.urls"
def test_get_wsgi_application(self):
"""
@@ -44,7 +44,7 @@ class WSGITest(TestCase):
class GetInternalWSGIApplicationTest(unittest.TestCase):
- @override_settings(WSGI_APPLICATION="regressiontests.wsgi.wsgi.application")
+ @override_settings(WSGI_APPLICATION="wsgi.wsgi.application")
def test_success(self):
"""
If ``WSGI_APPLICATION`` is a dotted path, the referenced object is
@@ -81,19 +81,19 @@ class GetInternalWSGIApplicationTest(unittest.TestCase):
basehttp.get_wsgi_application = _orig_get_wsgi_app
- @override_settings(WSGI_APPLICATION="regressiontests.wsgi.noexist.app")
+ @override_settings(WSGI_APPLICATION="wsgi.noexist.app")
def test_bad_module(self):
with six.assertRaisesRegex(self,
ImproperlyConfigured,
- r"^WSGI application 'regressiontests.wsgi.noexist.app' could not be loaded; Error importing.*"):
+ r"^WSGI application 'wsgi.noexist.app' could not be loaded; Error importing.*"):
get_internal_wsgi_application()
- @override_settings(WSGI_APPLICATION="regressiontests.wsgi.wsgi.noexist")
+ @override_settings(WSGI_APPLICATION="wsgi.wsgi.noexist")
def test_bad_name(self):
with six.assertRaisesRegex(self,
ImproperlyConfigured,
- r"^WSGI application 'regressiontests.wsgi.wsgi.noexist' could not be loaded; Module.*"):
+ r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Module.*"):
get_internal_wsgi_application()