

def test_middleware_ignores_valid_404_responses(self):
    request = self.rf.get('/this/url/does/not/exist/')
    response = DummyResponse(404)
    tools.assert_true((self is self.m.process_response(request, response)))

dataset/ETHPy150Open ella/ella/test_ella/test_utils/test_middleware.py TestLegacyRedirectMiddleware.test_middleware_ignores_valid_404_responses/VarMisuse@33/55 `response`->`self`