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

        response = self.client.get(self.dataset.slug % '/api/1.0/dataset/%s/data/', **self.auth_headers)

        self.assertEqual(response.status_code, 200)
        body = json.loads(response.content)

        data = body['objects'][0]

        response = self.client.delete('/api/1.0/dataset/%s/data/%s/' % (self.dataset.slug, data['external_id']), content_type='application/json', **self.auth_headers)

        self.assertEqual(response.status_code, 204)

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

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