#35247: Test Client constructor accepts headers that are ignored/overwitten
-------------------------------+--------------------------------------
     Reporter:  Paul Garner    |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  closed
    Component:  Uncategorized  |                  Version:  5.0
     Severity:  Normal         |               Resolution:  invalid
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Paul Garner):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 despite looking wrong, it works as intended since the headers are passed
 into `RequestFactory` constructor which adds them to `defaults`

 so ultimately the args from the `get` call do get merged on top, just in a
 roundabout way
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35247#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018dd724465b-e81a58bf-f90b-4eb2-a82a-80f691fc183a-000000%40eu-central-1.amazonses.com.

Reply via email to