def test_destroy_instance(self):
        resp = self.client.delete('/comments/1/')
        self.assertEqual(resp.status_code, 204)
        self.assertFalse(1 in Comment.objects.values_list('pk', flat=True))
dataset/ETHPy150Open chibisov/drf-extensions/tests_app/tests/functional/mixins/list_destroy_model_mixin/tests.py/ListDestroyModelMixinTest.test_destroy_instance/original