#15179: django.test.client.Client.login fake HttpRequest is not run through
middlewares
-------------------------------------+-------------------------------------
     Reporter:  Ciantic              |                    Owner:
         Type:  Bug                  |  unaizalakain
    Component:  Testing framework    |                   Status:  assigned
     Severity:  Normal               |                  Version:  master
     Keywords:                       |               Resolution:
    Has patch:  1                    |             Triage Stage:  Accepted
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by loic84):

 @unaizalakain, true for `self.request` ultimately being called.

 The issue with the request environ remains though, what do you think?

 It's worth noting that `login` already uses the `**kwargs` wildcard for
 `**credentials`, so it can't be used for `**extra`, IMO not a big deal if
 `login` and `logout` are not exactly consistent with the other methods as
 they operate at a higher level.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15179#comment:22>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.511730e88206bcf2c4fd1488a00a832a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to