1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-06 02:24:32 +00:00
Files
core/tests/components
Robbert Müller 7a156059e9 Switch on/off all lights, and wait for the result (#27078)
* Switch on/off all lights, and wait for the result

Reuses the parallel_updates semaphore.
This is a small crutch which serializes platforms which already do tis
for updates. Platforms which can parallelize everything, this makes it
go faster

* Fix broken unittest

With manual validation, with help from @frenck, we found out that the
assertions are wrong and the test should be failing.

The sequence requested is
OFF
ON

without cancelation, this code should result in:
off,off,off,on,on,on

testable, by adding a `await hass.async_block_till_done()` between the
off and on call.

with cancelation. there should be less off call's so
off,on,on,on

* Adding tests for async_request_call

* Process review feedback

* Switch gather with wait

* 👕 running black
2019-10-06 08:23:12 -07:00
..
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-04 13:58:29 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-03 13:02:38 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-22 18:19:27 +02:00
2019-07-31 12:25:30 -07:00
2019-10-02 20:52:15 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-05 12:42:37 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-04-14 16:59:06 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-29 14:23:42 -05:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-05 08:24:54 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-09-19 23:31:54 +02:00
2019-07-31 12:25:30 -07:00
2019-09-04 07:04:26 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-04 14:29:53 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-20 11:56:11 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-06 13:05:51 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-09-21 15:56:40 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-01 17:20:30 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-06 14:55:54 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-30 16:41:07 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-09-22 01:22:33 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-04 14:32:10 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-08-10 00:14:03 +02:00
2019-09-19 20:49:47 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-10-06 08:17:40 -07:00
2019-07-31 12:25:30 -07:00
2019-08-27 10:30:41 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-09-17 13:45:48 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2016-03-09 10:25:50 +01:00
2019-07-31 12:25:30 -07:00