WLED WebSocket support - local push updates (#51683)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Franck Nijhof 2021-06-11 20:55:08 +02:00 committed by GitHub
parent 5cc31a98e2
commit b83b82ca7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 580 additions and 7 deletions

View file

@ -63,6 +63,7 @@ def mock_wled(request: pytest.FixtureRequest) -> Generator[None, MagicMock, None
) as wled_mock:
wled = wled_mock.return_value
wled.update.return_value = device
wled.connected = False
yield wled