def METHOD_NAME(self):
    delete_function_endpoint = reverse(
        self.endpoint, args=[self.organization.slug, "invalid-slug"]
    )
    delete_response = self.client.delete(delete_function_endpoint)
    assert delete_response.status_code == 404