Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#10482 closed (fixed)

Unify access to response.context in test client

Reported by: Julien Phalip Owned by: Julien Phalip
Component: Testing framework Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

James Bennett described the issue quite clearly on this django-developers thread: http://groups.google.com/group/django-developers/browse_thread/thread/1b10084ea969141e

To simplify the testing of templates and contexts, it'd be good to have a unified way to access the response.context attribute.

Attachments (1)

10482.consistent_response_context.diff (5.8 KB ) - added by Julien Phalip 16 years ago.
Patch contains tests and doc.

Download all attachments as: .zip

Change History (5)

comment:1 by Eric Holscher, 16 years ago

Triage Stage: UnreviewedAccepted

+1 to this change.

by Julien Phalip, 16 years ago

Patch contains tests and doc.

comment:2 by Julien Phalip, 16 years ago

Component: UncategorizedTesting framework
milestone: 1.1

The patch is backward compatible. I hope it makes it into 1.1 as it makes testers' life a bit easier. And we want testers' life to be easy ;)

comment:3 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [10084]) Fixed #10482 -- Unified access to response.context when inspecting responses from the test client. Thanks to James Bennett for the design, and Julien Phalip for the patch.

comment:4 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top