#10899: easier manipulation of sessions by test client
-----------------------------------+------------------------------------
Reporter: tallfred | Owner: nobody
Type: New feature | Status: reopened
Component: Testing framework | Version: SVN
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------------+------------------------------------
Changes (by ptone):
* needs_better_patch: 0 => 1
Comment:
Tests failing:
{{{
FAIL: test_group_permission_performance
(regressiontests.admin_views.tests.GroupAdminTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/admin/Projects/django/django-
git/tests/regressiontests/admin_views/tests.py", line 2983, in
test_group_permission_performance
self.assertEqual(response.status_code, 200)
File "/Users/admin/Projects/django/django-git/django/test/testcases.py",
line 246, in __exit__
executed, self.num
AssertionError: 8 != 6 : 8 queries executed, 6 expected
======================================================================
FAIL: test_user_permission_performance
(regressiontests.admin_views.tests.UserAdminTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/admin/Projects/django/django-
git/tests/regressiontests/admin_views/tests.py", line 2952, in
test_user_permission_performance
self.assertEqual(response.status_code, 200)
File "/Users/admin/Projects/django/django-git/django/test/testcases.py",
line 246, in __exit__
executed, self.num
AssertionError: 9 != 7 : 9 queries executed, 7 expected
----------------------------------------------------------------------
Ran 4228 tests in 340.354s
FAILED (failures=2, skipped=69, expected failures=3)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/10899#comment:21>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.