def test_uniprot_reader_lazy_minimal(test_file: str) -> None:
    """Test lazy loading with minimal fields."""
    reader = UniProtReader(include_fields={"id"})
    documents = list(reader.lazy_load_data(test_file))

    assert len(documents) == 1
    doc = documents[0]

    assert doc.text == "Protein ID: 002L_FRG3G"
    assert doc.metadata == {"id": "002L_FRG3G"}
Test lazy loading with minimal fields.
llama-index-integrations/readers/llama-index-readers-uniprot/tests/test_uniprot_reader.py