mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-17 15:27:15 +00:00
test(migrations): complete raw bot session fixture values
This commit is contained in:
@@ -237,8 +237,10 @@ async def test_sqlite_scoped_keys_allow_cross_workspace_but_reject_same_workspac
|
|||||||
await conn.execute(
|
await conn.execute(
|
||||||
sa.text(
|
sa.text(
|
||||||
'INSERT INTO monitoring_sessions '
|
'INSERT INTO monitoring_sessions '
|
||||||
'(workspace_uuid, session_id, bot_id, last_activity, is_active) '
|
'(workspace_uuid, session_id, bot_id, bot_name, pipeline_id, pipeline_name, '
|
||||||
"VALUES (:workspace_uuid, 'session-1', 'bot-2', CURRENT_TIMESTAMP, 1)"
|
'start_time, last_activity, message_count, is_active) '
|
||||||
|
"VALUES (:workspace_uuid, 'session-1', 'bot-2', 'bot', 'pipeline-2', 'pipeline', "
|
||||||
|
'CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, 1, 1)'
|
||||||
),
|
),
|
||||||
{'workspace_uuid': second_workspace_uuid},
|
{'workspace_uuid': second_workspace_uuid},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user