

def test_export_equal_page_range(self):
    response = self.client.get('/api/data/export/csv/1...1/')
    self.assertEqual(response.status_code, codes.ok)
    self.assertTrue(response.get('Content-Disposition').startswith('attachment; filename="p1'))
    self.assertEqual(response.get('Content-Type'), 'text/csv')

dataset/ETHPy150Open chop-dbhi/serrano/tests/cases/resources/tests/exporter.py ExporterResourceTestCase.test_export_equal_page_range/original