diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-03-11 21:07:19 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-03-11 21:07:19 +0100 |
| commit | b746f8a9e3fb22fe5ff58bd2bd8b20fa80cd4800 (patch) | |
| tree | bea965b5bf54e3ab593da06ea07753ca8ad1b590 /tests/admin_views/tests.py | |
| parent | 1adb7b3c38641c2e9e346d21555214e7b320b836 (diff) | |
Adjusted query counts to account for new savepoints.
Diffstat (limited to 'tests/admin_views/tests.py')
| -rw-r--r-- | tests/admin_views/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 53dc74fa88..bb77932ad4 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -3576,7 +3576,7 @@ class UserAdminTest(TestCase): # Don't depend on a warm cache, see #17377. ContentType.objects.clear_cache() - with self.assertNumQueries(8): + with self.assertNumQueries(10): response = self.client.get('/test_admin/admin/auth/user/%s/' % u.pk) self.assertEqual(response.status_code, 200) @@ -3614,7 +3614,7 @@ class GroupAdminTest(TestCase): def test_group_permission_performance(self): g = Group.objects.create(name="test_group") - with self.assertNumQueries(6): # instead of 259! + with self.assertNumQueries(8): # instead of 259! response = self.client.get('/test_admin/admin/auth/group/%s/' % g.pk) self.assertEqual(response.status_code, 200) |
