test: the case-spelling on-demand test patches _send_on_demand now the mailbox is gone

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Chuck
2026-10-15 11:31:09 -04:00
co-authored by Claude Sonnet 5.5
parent e9abfba81a
commit 6df942ec02
+1 -2
View File
@@ -160,8 +160,7 @@ class TestOneBadConfigSectionDoesNotBlankTheList:
class TestOnDemandUsesTheRegisteredSpelling: class TestOnDemandUsesTheRegisteredSpelling:
def test_a_mode_differing_in_case_is_sent_as_registered(self, client): def test_a_mode_differing_in_case_is_sent_as_registered(self, client):
with patch('web_interface.blueprints.api_v3.display._deliver_on_demand', with patch('web_interface.blueprints.api_v3.display._send_on_demand') as deliver:
return_value=('socket', None)) as deliver:
response = client.post('/api/v3/display/on-demand/start', response = client.post('/api/v3/display/on-demand/start',
json={'plugin_id': 'football-scoreboard', json={'plugin_id': 'football-scoreboard',
'mode': 'NFL_LIVE', 'start_service': False}) 'mode': 'NFL_LIVE', 'start_service': False})