def test_get_content(self): response = HttpResponse() self.assertEqual(response.get_content(), [b'', '\n'])