1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00

Update test_oversized_payloads.py

This commit is contained in:
J. Nick Koston
2025-10-07 18:17:17 -05:00
committed by GitHub
parent cb578c2198
commit b9e2a30a38

View File

@@ -161,7 +161,7 @@ async def test_oversized_payload_noise(
assert device_info is not None assert device_info is not None
assert device_info.name == "oversized-noise" assert device_info.name == "oversized-noise"
# Create an oversized payload (>2304 bytes which is our new limit) # Create an oversized payload (>32Kbytes which is our new limit)
oversized_data = b"Y" * 32769 # ~32KiB, exceeds the 32 Kbyte limit oversized_data = b"Y" * 32769 # ~32KiB, exceeds the 32 Kbyte limit
# Access the internal connection to send raw data # Access the internal connection to send raw data