mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-03 03:32:25 +01:00
Squash Odysseus development history
This commit is contained in:
@@ -123,6 +123,10 @@ def test_paginated_history_reads_only_count_and_requested_page(monkeypatch):
|
||||
"content-4",
|
||||
"content-5",
|
||||
]
|
||||
assert [message["metadata"]["_db_id"] for message in payload["history"]] == [
|
||||
"message-4",
|
||||
"message-5",
|
||||
]
|
||||
assert payload["total"] == 6
|
||||
assert payload["offset"] == 4
|
||||
assert payload["has_more_before"] is True
|
||||
|
||||
Reference in New Issue
Block a user