def test_create_too_many_fields(self):
        self.dataset.import_data(self.user, self.upload, 0)

        new_data = {
            'data': ['5', 'Mr.', 'PANDA', 'PANDA Project', 'PANDAs everywhere']
        }

        response = self.client.post('/api/1.0/dataset/%s/data/' % self.dataset.slug, content_type='application/json', data=json.dumps(new_data), **self.auth_headers)

        self.assertEqual(response.status_code, 400)
        body = json.loads(response.content)
        self.assertIn('data', body)
dataset/ETHPy150Open pandaproject/panda/panda/tests/test_api_data.py/TestAPIData.test_create_too_many_fields/original