def test_uniprot_reader_lazy_multiple(test_file_multiple: str) -> None:
    """Test lazy loading of multiple UniProt records."""
    reader = UniProtReader()
    documents = list(reader.lazy_load_data(test_file_multiple))

    assert len(documents) == 2
    assert documents[0].metadata["id"] == "002L_FRG3G"
    assert documents[1].metadata["id"] == "003L_FRG3G"
Test lazy loading of multiple UniProt records.
llama-index-integrations/readers/llama-index-readers-uniprot/tests/test_uniprot_reader.py