code: def test_generate_not_found(fake_url, hf_headers):
      client = Client(fake_url, hf_headers)
      with pytest.raises(NotFoundError):
          client.generate("test")
  
file_path: text-generation-inference/clients/python/tests/test_client.py
imports: import pytest
  from text_generation import Client, AsyncClient
  from text_generation.errors import NotFoundError, ValidationError
  from text_generation.types import FinishReason, InputToken
label_desc: Use image node_id 3 for calling a global function with example usage: test_generate_not_found(fake_url, hf_headers) without return types