import asyncio
from bot import SQLitePersistence

async def test():
    p = SQLitePersistence("kantin.db")
    
    # Simulate update_conversation
    await p.update_conversation("keuangan_handler", (12345, 12345), 1)
    
    # Simulate get_conversations
    convs = await p.get_conversations("keuangan_handler")
    print("Conversations:", convs)
    
asyncio.run(test())
