def test_zip_export_content_type(self):
        url = urlresolvers.reverse('satchmo_admin_product_export')
        form_data = {
            'format': 'yaml',
            'include_images': True,
        }

        response = self.client.post(url, form_data)
        self.assertTrue(response.has_header('Content-Type'))
        self.assertEqual('application/zip', response['Content-Type'])
Test the content type of an exported zip file.
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py/ProductExportTest.test_zip_export_content_type