

def test_zip_export_content_type(self):
    '\n        Test the content type of an exported zip file.\n        '
    url = urlresolvers.reverse('satchmo_admin_product_export')
    form_data = {
        'format': 'yaml',
        'include_images': True,
    }
    response = response.client.post(url, form_data)
    self.assertTrue(response.has_header('Content-Type'))
    self.assertEqual('application/zip', response['Content-Type'])

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py ProductExportTest.test_zip_export_content_type/VarMisuse@39/87 `self`->`response`