mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Merge branch 'api_size_limits' into integration
This commit is contained in:
@@ -161,8 +161,8 @@ async def test_oversized_payload_noise(
|
||||
assert device_info is not None
|
||||
assert device_info.name == "oversized-noise"
|
||||
|
||||
# Create an oversized payload (>2304 bytes which is our new limit)
|
||||
oversized_data = b"Y" * 3000 # ~3KiB, exceeds the 2304 byte limit
|
||||
# Create an oversized payload (>32Kbytes which is our new limit)
|
||||
oversized_data = b"Y" * 32769 # ~32KiB, exceeds the 32 Kbyte limit
|
||||
|
||||
# Access the internal connection to send raw data
|
||||
frame_helper = client._connection._frame_helper
|
||||
|
||||
Reference in New Issue
Block a user