Tweak error messaging in the onReceive function for sendtext packets

This commit is contained in:
Ian McEwen
2024-12-27 10:04:36 -07:00
parent b8178d513a
commit 6bab385380
2 changed files with 3 additions and 3 deletions

View File

@@ -1608,7 +1608,7 @@ def test_main_onReceive_empty(caplog, capsys):
assert re.search(r"in onReceive", caplog.text, re.MULTILINE)
out, err = capsys.readouterr()
assert re.search(
r"Warning: There is no field 'to' in the packet.", out, re.MULTILINE
r"Warning: Error processing received packet: 'to'.", out, re.MULTILINE
)
assert err == ""