Skip to content

Read AlarmSection.display.group in TeamScreen and update test_team_page - #2258

Merged
trissim merged 1 commit into
mainfrom
fix/team-alarm-section-display
Nov 24, 2026
Merged

trissim merged 1 commit into
mainfrom
fix/team-alarm-section-display

Conversation

@trissim

@trissim trissim commented Nov 24, 2026

Copy link
Copy Markdown

Summary

Fixes a live AttributeError in TeamScreen when rendering alarms after Core moved group onto AlarmSection.display (AlarmDisplay), and updates the two stale test setups in tests/textual/test_team_page.py:

  • src/toad/screens/team.py:228,487: read section.display.group instead of section.group.
  • tests/textual/test_team_page.py:319,357: publish via TeamBoardPublicationStore.replace_all and pass parent.preparation = app.preparation on the Qt test parent.
  • tests/textual/test_team_page.py:478: build AlarmSection(AlarmDisplay(NewAlarms, (ping,))).

Evidence

  • tests/textual/test_team_page.py: test_core_summaries_and_alarm_ages_reach_native_disclosures passed (9.70s) and test_one_recipient_delta_preserves_textual_and_qt_view_identity passed (11.47s) against Core 8e45b1551d (all 6 other tests in the file already passed).

@trissim
trissim merged commit daa50bb into main Nov 24, 2026
@trissim
trissim deleted the fix/team-alarm-section-display branch November 24, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant