Issue #74 on hold

Resolve regressiontest.middleware_exceptions.test_process_request

g8tam
created an issue

The error: {{{

!python

====================================================================== FAIL: test_process_request (regressiontests.middleware_exceptions.tests.MiddlewareExceptionTest)


Traceback (most recent call last): File "/home/neo/Desktop/django-3k/build/tests/regressiontests/middleware_exceptions/tests.py", line 41, in test_process_request self.assertEquals(len(self.exceptions), 1) AssertionError: 0 != 1


Ran 1 test in 0.013s

}}}

Comments (2)

  1. g8tam reporter

    Research done so far:

    In Py3 the line:

    response = receiver(signal=self, sender=sender, **named)
    

    in django.dispatcher.send() should call _on_request_exception() found in regressiontests.middleware_exceptions.tests.MiddlewareExceptionTest's test_process_request. However the exception is never appended to the exceptions list.

  2. Log in to comment