

def test_middleware_ignores_non_404_responses(self):
    request = self.rf.get('/articles/10-w-t-f/')
    response = DummyResponse(200)
    tools.assert_true((response is self.m.process_response(request, self)))

dataset/ETHPy150Open ella/ella/test_ella/test_utils/test_middleware.py TestLegacyRedirectMiddleware.test_middleware_ignores_non_404_responses/VarMisuse@43/66 `response`->`self`