def METHOD_NAME(self, mock_delete_store_model_policy):
    mock_delete_store_model_policy.return_value = Mock(status_code=404)
    response = self.client.delete(
        "/admin/store/1/models/Model1/policies/1"
    )
    data = response.json
    self.assertEqual(response.status_code, 500)
    self.assertFalse(data["success"])
    self.assertEqual(data["message"], "Policy not found")