def METHOD_NAME(self):
    DiscoverSavedQuery.objects.create(
        organization=self.org,
        created_by_id=self.user.id,
        name="Test query",
        query=self.query,
        is_homepage=True,
    )
    with self.feature(FEATURES):
        response = self.client.delete(self.url)
    assert response.status_code == 204
    assert not DiscoverSavedQuery.objects.filter(
        created_by_id=self.user.id, organization=self.org, is_homepage=True
    ).exists()