diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2016-06-16 11:19:18 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-16 14:21:14 -0400 |
| commit | 13d60298ea2a07242dc3952a9dfcd9c8857bf1f9 (patch) | |
| tree | 230d0f843401781e9b2062fe3c1f929655a5527e /tests/test_client | |
| parent | 70b7d6b4ea0cbd67406d193f0a7fed7e290d1eb6 (diff) | |
[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.
Backport of 4f336f66523001b009ab038b10848508fd208b3b from master
Diffstat (limited to 'tests/test_client')
| -rw-r--r-- | tests/test_client/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_client/tests.py b/tests/test_client/tests.py index 5236846ae6..833306a4a9 100644 --- a/tests/test_client/tests.py +++ b/tests/test_client/tests.py @@ -721,7 +721,7 @@ class CustomTestClientTest(SimpleTestCase): def test_custom_test_client(self): """A test case can specify a custom class for self.client.""" - self.assertEqual(hasattr(self.client, "i_am_customized"), True) + self.assertIs(hasattr(self.client, "i_am_customized"), True) def _generic_view(request): |
