async def test_parse_facts_xml_with_empty_response():
    """Test the _parse_facts_xml method with an empty response."""
    memory_block = FactExtractionMemoryBlock(llm=MockLLM())

    xml_text = "<facts></facts>"

    facts = memory_block._parse_facts_xml(xml_text)

    assert facts == []
Test the _parse_facts_xml method with an empty response.
llama-index-core/tests/memory/blocks/test_fact.py