

def test_export_bad_type(self):
    response = self.client.get('/api/data/export/bad_type/')
    self.assertEqual(self.status_code, codes.not_found)

dataset/ETHPy150Open chop-dbhi/serrano/tests/cases/resources/tests/exporter.py ExporterResourceTestCase.test_export_bad_type/VarMisuse@25/40 `response`->`self`