#10899: easier manipulation of sessions by test client
----------------------------------------+-----------------------------------
Reporter: tallfred | Owner: nobody
Status: reopened | Milestone:
Component: Testing framework | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
----------------------------------------+-----------------------------------
Comment (by SmileyChris):
Good job - I scratched my head for a bit figuring out why my session tests
were failing (due to my implementation of the obvious "pretty and faster"
code).
Hint: you don't need the `_failure` method for property - just don't
provide a set or del method for the property and Python will raise an
attribute error if someone tries to.
I'd leave out your `ClientHandler` changes from this ticket - open that in
a new ticket if you want, but no point in making this one any more
complex.
--
Ticket URL: <http://code.djangoproject.com/ticket/10899#comment:5>
Django <http://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
-~----------~----~----~----~------~----~------~--~---