Skip to content

Commit aa15b8b

Browse files
committed
check unlimited history is returned
1 parent 0340ea8 commit aa15b8b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/server/request_handlers/test_default_request_handler.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,11 @@ async def test_on_message_send_non_blocking():
834834

835835
assert task is not None
836836
assert task.status.state == TaskState.completed
837+
assert (
838+
result.history
839+
and task.history
840+
and len(result.history) == len(task.history)
841+
)
837842

838843

839844
@pytest.mark.asyncio
@@ -876,7 +881,7 @@ async def test_on_message_send_limit_history():
876881

877882

878883
@pytest.mark.asyncio
879-
async def test_on_task_get_limit_history():
884+
async def test_on_get_task_limit_history():
880885
task_store = InMemoryTaskStore()
881886
push_store = InMemoryPushNotificationConfigStore()
882887

0 commit comments

Comments
 (0)