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

        new_data = {
            'data': ['5', 'A', 'B', 'C']
        }

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

        self.assertEqual(response.status_code, 201)
        body = json.loads(response.content)
        self.assertEqual(body['data'], new_data['data'])
        self.assertIn('dataset', body)
        self.assertIn('resource_uri', body)
        self.assertIn('external_id', body)

        # Refresh
        self.dataset = Dataset.objects.get(id=self.dataset.id)

        self.assertEqual(self.dataset.row_count, 5)
dataset/ETHPy150Open pandaproject/panda/panda/tests/test_api_data.py/TestAPIData.test_create/swapped operands of `%`