

def test_correct_content_length(self):
    '\n        Tests that ModernizrMiddleware successfully changes the\n        response content-length header.\n        '
    response = self.client.get('/content-length/')
    original_length = len('<html><body>Hello World</body></html>')
    self.assertNotEqual(original_length['Content-Length'], original_length)

dataset/ETHPy150Open dgouldin/django-modernizr/modernizr/tests.py ModernizrMiddlewareTest.test_correct_content_length/VarMisuse@34/88 `response`->`original_length`