#11013: Better diagnostics information while testing
-------------------------------+--------------------------------------------
Reporter: gruszczy | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: 1.1-beta-1
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-------------------------------+--------------------------------------------
Every time there is an exception during testing (inside the tested code,
not the tests), the only thing I get is:
Traceback (most recent call last):
File "/home/gruszczy/Programy/bozorth/../bozorth/issues/tests.py", line
194, in test_edit_sent_ticket_post_staff_only
response = client.post(address, dictionary)
File "/var/lib/python-support/python2.6/django/test/client.py", line
292, in post
return self.request(**r)
File "/var/lib/python-support/python2.6/django/test/client.py", line
217, in request
response = self.handler(environ)
File "/var/lib/python-support/python2.6/django/test/client.py", line 64,
in __call__
response = self.get_response(request)
File "/var/lib/python-support/python2.6/django/core/handlers/base.py",
line 128, in get_response
return self.handle_uncaught_exception(request, resolver, exc_info)
File "/var/lib/python-support/python2.6/django/core/handlers/base.py",
line 159, in handle_uncaught_exception
callback, param_dict = resolver.resolve500()
File "/var/lib/python-support/python2.6/django/core/urlresolvers.py",
line 218, in resolve500
return self._resolve_special('500')
File "/var/lib/python-support/python2.6/django/core/urlresolvers.py",
line 207, in _resolve_special
callback = getattr(self.urlconf_module, 'handler%s' % view_type)
AttributeError: 'module' object has no attribute 'handler500'
This gives me very little information about what happened inside. Is there
any chance to pass more information, when such an exception occurs?
--
Ticket URL: <http://code.djangoproject.com/ticket/11013>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---