#29966: Add test coverage for BaseHandler's "The view didn't return an 
HttpResponse
object." error
-------------------------------------+-------------------------------------
     Reporter:  ziposcar             |                    Owner:  Hasan
         Type:                       |  Ramezani
  Cleanup/optimization               |                   Status:  assigned
    Component:  HTTP handling        |                  Version:  2.1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 To exercise that branch, you can write a view like this:
 {{{
 class View:
     def __call__(self, request):
         pass
 }}}
 and use it in the URLconf as `View()`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29966#comment:5>
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/066.5bec490117c1c1d605b01a318bb1fb45%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to