Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/textual/test_session_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
from textual.screen import Screen
from textual.widgets import Input

from agent_comms.audience_manifest import FrozenRecipient
from agent_comms.messages import InfoKind, Message
from agent_comms.notification_progress import AcknowledgedProgress
from agent_comms.presentation import MessageNotification
from agent_comms.thread_presentation import ThreadPresentation
from agent_comms.ui_model.delivery import InputDelivery
Expand All @@ -20,7 +22,7 @@
@pytest.mark.parametrize("ansi", [False, True], ids=["rgb", "ansi"])
async def test_details_are_one_row_until_opened_and_then_bounded(workspace, ansi):
notifications = tuple(MessageNotification(
"owner", "Responded", "", message=Message("peer", "#comms", f"Notice {index}: " + "body " * 30,
FrozenRecipient("owner", "owner"), "peer", AcknowledgedProgress(), message=Message("peer", "#comms", f"Notice {index}: " + "body " * 30,
InfoKind, seq=index + 1),
) for index in range(30))
state = ThreadPresentation("owner", "●", "Ready", notifications=notifications)
Expand Down
Loading