def test_destroy(self, **kwargs):

        response = self.get_destroy_response(**kwargs)

        self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT, response.data)
        # Another sanity check:
        # see that the instance is removed from the database.
        self.assertRaises(ObjectDoesNotExist, self.object.__class__.objects.get, **{self.lookup_field: self.object_id})

        return response
If ``WSGI_APPLICATION`` is a dotted path, the referenced object is
dataset/ETHPy150Open ydaniv/django-rest-assured/rest_assured/testcases.py/DestroyAPITestCaseMixin.test_destroy--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/wsgi/tests.py/GetInternalWSGIApplicationTest.test_success