def test_load_data_basic(sqlite_engine):
    """It should return two Document objects with concatenated text."""
    reader = _create_reader(sqlite_engine)
    docs = _get_all_docs(reader)

    assert len(docs) == 2
    assert docs[0].text_resource and docs[0].text_resource.text
    assert docs[0].text_resource.text.startswith("id: 1")
    assert docs[0].text_resource.text.endswith("value: 10")
It should return two Document objects with concatenated text.
llama-index-integrations/readers/llama-index-readers-database/tests/test_readers_database.py