1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Increase file upload limit to 100 MB (#77117)

* Increase file upload limit to 100 MB

* Remove comment

* Add test and fix chunk processing

* Add test for wrong field

* Add review suggestions

* Use nonlocal and remove unneeded executor task

* Use Janus to process chunk uploading

* Address review comments

* Address review comments #2

* Improve tests

* Fix discovery test

* Fix tests
This commit is contained in:
Marvin Wichmann
2022-11-30 02:46:34 +01:00
committed by GitHub
parent a3ec9529ec
commit 1908feab79
8 changed files with 107 additions and 16 deletions

View File

@@ -401,7 +401,7 @@ async def test_discovery_requirements_mqtt(hass):
) as mock_process:
await async_get_integration_with_requirements(hass, "mqtt_comp")
assert len(mock_process.mock_calls) == 2 # mqtt also depends on http
assert len(mock_process.mock_calls) == 3 # mqtt also depends on http
assert mock_process.mock_calls[0][1][1] == mqtt.requirements