New paste Repaste Download
    def test_accounts_holding_the_same_thing_are_said_once():
        """Operator 2026-09-20 ("collapse"), after hearing a whole session replayed: three accounts
        on the same leg said the same thing three times every five minutes — 303 holding
        announcements on 2026-09-11, 56 of them the identical sentence."""
        roster = ["cuixia", "miaoyong", "yuchao"]
        lines = tv.holding_lines([_hold("cuixia", "TZA", 2, 30.0, entry_hh=17, entry_mm=22),
                                  _hold("miaoyong", "TZA", 45, 30.0, entry_hh=17, entry_mm=22),
                                  _hold("yuchao", "TZA", 49, 33.0, entry_hh=17, entry_mm=22)],
                                 now=NOW, all_accounts=roster)
>       assert lines == ["all three holding TZA, one hour 8 minutes, gaining."]
E       AssertionError: assert ['Holding sho...r 8 minutes.'] == ['all three h...es, gaining.']
E         
E         At index 0 diff: 'Holding short position for one hour 8 minutes.' != 'all three holding TZA, one hour 8 minutes, gaining.'
E         
E         Full diff:
E           [
E         -     'all three holding TZA, one hour 8 minutes, gaining.',
E         +     'Holding short position for one hour 8 minutes.',
E           ]
tests/services/test_tide_voice_announcer.py:743: AssertionError
Filename: None. Size: 1kb. View raw, , hex, or download this file.

This paste expires on 2026-09-27 09:13:30.288096+00:00. Pasted through deprecated-web.