def test_delete(session, conversation): from dispatch.conversation.service import delete, get delete(db_session=session, conversation_id=conversation.id) assert not get(db_session=session, conversation_id=conversation.id)
def test_get(session, conversation): from dispatch.conversation.service import get t_conversation = get(db_session=session, conversation_id=conversation.id) assert t_conversation.id == conversation.id