async def test_aput_does_nothing(sample_messages):
    """Test that aput method is a no-op and doesn't change the static content."""
    static_text = "Unchanging content"
    memory_block = StaticMemoryBlock(static_content=static_text)

    # Get the content before calling aput
    content_before = await memory_block.aget()

    # Call aput with sample messages
    await memory_block.aput(sample_messages)

    # Get the content after calling aput
    content_after = await memory_block.aget()

    # Verify content hasn't changed
    assert content_before == content_after
    assert content_before[0].text == static_text
Test that aput method is a no-op and doesn't change the static content.
llama-index-core/tests/memory/blocks/test_static.py