diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-10-28 12:02:56 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-11-03 11:56:37 -0500 |
commit | f7969b0920c403118656f6bfec58d6454d79ef1a (patch) | |
tree | 866df7de0524251323fef2b4262e672150d95f00 /tests/wsgi | |
parent | c0c78f1b707f825eee974c65515a837f8cf46e66 (diff) | |
download | django-f7969b0920c403118656f6bfec58d6454d79ef1a.tar.gz |
Fixed #23620 -- Used more specific assertions in the Django test suite.
Diffstat (limited to 'tests/wsgi')
-rw-r--r-- | tests/wsgi/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wsgi/tests.py b/tests/wsgi/tests.py index 092d3a751e..e8f29c60d8 100644 --- a/tests/wsgi/tests.py +++ b/tests/wsgi/tests.py @@ -64,7 +64,7 @@ class GetInternalWSGIApplicationTest(unittest.TestCase): from .wsgi import application - self.assertTrue(app is application) + self.assertIs(app, application) @override_settings(WSGI_APPLICATION=None) def test_default(self): @@ -85,7 +85,7 @@ class GetInternalWSGIApplicationTest(unittest.TestCase): try: app = get_internal_wsgi_application() - self.assertTrue(app is fake_app) + self.assertIs(app, fake_app) finally: basehttp.get_wsgi_application = _orig_get_wsgi_app |