def get_destroy_url(self):

        self.object_id = getattr(self.object, self.lookup_field)
        return reverse(self._get_destroy_name(),
                       args=(self.object_id,))
Return the destroy endpoint url.
dataset/ETHPy150Open ydaniv/django-rest-assured/rest_assured/testcases.py/DestroyAPITestCaseMixin.get_destroy_url