Re: [Django] #12571: Test client doesn't set WSGIRequest instance on response

12 views
Skip to first unread message

Django

unread,
Nov 18, 2013, 7:14:25 PM11/18/13
to django-...@googlegroups.com
#12571: Test client doesn't set WSGIRequest instance on response
-------------------------------------+-------------------------------------
Reporter: rvdrijst | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version:
Severity: Normal | Resolution:
Keywords: test client request | Triage Stage: Accepted
response WSGIRequest | Needs documentation: 1
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by unaizalakain):

This would solve the problems mentioned in
https://code.djangoproject.com/ticket/15179#comment:24

--
Ticket URL: <https://code.djangoproject.com/ticket/12571#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 18, 2013, 7:14:41 PM11/18/13
to django-...@googlegroups.com
#12571: Test client doesn't set WSGIRequest instance on response
-------------------------------------+-------------------------------------
Reporter: rvdrijst | Owner:
Type: Bug | unaizalakain
Component: Testing framework | Status: assigned
Severity: Normal | Version:
Keywords: test client request | Resolution:
response WSGIRequest | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by unaizalakain):

* owner: nobody => unaizalakain
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/12571#comment:7>

Django

unread,
Nov 19, 2013, 12:40:03 PM11/19/13
to django-...@googlegroups.com
#12571: Test client doesn't set WSGIRequest instance on response
-------------------------------------+-------------------------------------
Reporter: rvdrijst | Owner:
Type: Bug | unaizalakain
Component: Testing framework | Status: assigned
Severity: Normal | Version: master

Keywords: test client request | Resolution:
response WSGIRequest | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by unaizalakain):

* needs_docs: 1 => 0
* version: => master
* needs_tests: 1 => 0


Comment:

PR sent: https://github.com/django/django/pull/1942

--
Ticket URL: <https://code.djangoproject.com/ticket/12571#comment:8>

Django

unread,
Jan 8, 2014, 7:41:50 AM1/8/14
to django-...@googlegroups.com
#12571: Test client doesn't set WSGIRequest instance on response
-------------------------------------+-------------------------------------
Reporter: rvdrijst | Owner:
Type: Bug | unaizalakain
Component: Testing framework | Status: assigned
Severity: Normal | Version: master
Keywords: test client request | Resolution:
response WSGIRequest | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/12571#comment:9>

Django

unread,
Jan 9, 2014, 6:52:46 PM1/9/14
to django-...@googlegroups.com
#12571: Test client doesn't set WSGIRequest instance on response
-------------------------------------+-------------------------------------
Reporter: rvdrijst | Owner:
Type: Bug | unaizalakain
Component: Testing framework | Status: closed
Severity: Normal | Version: master
Keywords: test client request | Resolution: fixed

response WSGIRequest | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"9eb16031ca837624433c49646289b50f9566a25d"]:
{{{
#!CommitTicketReference repository=""
revision="9eb16031ca837624433c49646289b50f9566a25d"
Fixed #12571 -- Attached originating WSGIRequest to test client responses.

Originating WSGIRequests are now attached to the ``wsgi_request``
attribute of
the ``HttpResponse`` returned by the testing client.

Thanks rvdrijst for the suggestion.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/12571#comment:10>

Reply all
Reply to author
Forward
0 new messages