test(runtime): assert filter and message delivery semantics

This commit is contained in:
huanghuoguoguo
2026-10-17 15:01:09 +08:00
parent bbf517edbc
commit 24300adc72
5 changed files with 158 additions and 122 deletions
+8 -2
View File
@@ -201,8 +201,14 @@ class TestBotEndpoints:
assert response.status_code == 200
data = await response.get_json()
assert data['code'] == 0
assert 'data' in data
assert 'bots' in data['data']
assert data['data']['bots'] == [
{
'uuid': 'test-bot-uuid',
'name': 'Test Bot',
'platform': 'telegram',
'pipeline_uuid': 'test-pipeline-uuid',
}
]
@pytest.mark.asyncio
async def test_create_bot_success(self, quart_test_client):