diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-01-20 22:15:14 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-02-08 11:12:19 -0500 |
commit | 5d263dee304fdaf95e18d2f0619d6925984a7f02 (patch) | |
tree | 764bc0cd21bca796d9f1bd0b8d2645a9773e48de /tests/wsgi | |
parent | fcc21837dc691ba6465853c0b68927cb075a4591 (diff) | |
download | django-5d263dee304fdaf95e18d2f0619d6925984a7f02.tar.gz |
Fixed #21674 -- Deprecated the import_by_path() function in favor of import_string().
Thanks Aymeric Augustin for the suggestion and review.
Diffstat (limited to 'tests/wsgi')
-rw-r--r-- | tests/wsgi/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wsgi/tests.py b/tests/wsgi/tests.py index 567ca94f98..299beacf46 100644 --- a/tests/wsgi/tests.py +++ b/tests/wsgi/tests.py @@ -101,6 +101,6 @@ class GetInternalWSGIApplicationTest(unittest.TestCase): def test_bad_name(self): with six.assertRaisesRegex(self, ImproperlyConfigured, - r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Module.*"): + r"^WSGI application 'wsgi.wsgi.noexist' could not be loaded; Error importing.*"): get_internal_wsgi_application() |