Ejemplo n.º 1
0
Archivo: unit.py Proyecto: garethr/mnml
 def test_response_headers(self):
     response = HttpResponse()
     self.assertEqual(response.get_headers(), [('content-length', '0'), ('content-type', 'text/html'), ('Location', '/')])
Ejemplo n.º 2
0
Archivo: unit.py Proyecto: pilif/mnml
 def test_response_headers(self):
     response = HttpResponse()
     self.assertEqual(response.get_headers(), [('content-length', '0'), ('content-type', 'text/html; charset=utf-8')])