Changed how speech interruptions are handled hopefully improved things being interrupted when they shouldn't be.

This commit is contained in:
Storm Dragon
2026-05-19 15:26:44 -04:00
parent a84aec94a9
commit 009938c495
9 changed files with 130 additions and 25 deletions
@@ -38,8 +38,7 @@ class StructuralNavigationTableRegressionTests(unittest.TestCase):
navigator._presentObject.assert_called_once_with("cell", 0)
navigator._script.presentMessage.assert_called_once_with(
messages.TABLE_CELL_COORDINATES % {"row": 2, "column": 3},
interrupt=False,
messages.TABLE_CELL_COORDINATES % {"row": 2, "column": 3}
)
def test_wrapping_announcement_does_not_interrupt_wrapped_object(self):
@@ -78,7 +77,7 @@ class StructuralNavigationTableRegressionTests(unittest.TestCase):
events,
[
("present", first, "arg"),
("message", messages.WRAPPING_TO_TOP, {"interrupt": False}),
("message", messages.WRAPPING_TO_TOP, {}),
],
)