core/tests/components/tradfri
Jc2k 6b519499a7 Don't expose flows that aren't initialised. (#30432)
* Don't expose flows that aren't initialised.

If a flow init does not return immediately then there is a window where our
behaviour is screwy:

 * Can try to configure a flow that isn't ready
 * Can show notifications for discoveries that might yet return an abort

This moves the flow discovery events and notifications to after the flow is
initialised and hides flows that don't have a cur_step from async_progress

* Fix tradfri test

* Black.

* Lint fixes
2020-01-03 17:28:05 +01:00
..
__init__.py Config flow tradfri (#16665) 2018-09-19 21:21:43 +02:00
conftest.py Don't expose flows that aren't initialised. (#30432) 2020-01-03 17:28:05 +01:00
test_config_flow.py Don't expose flows that aren't initialised. (#30432) 2020-01-03 17:28:05 +01:00
test_init.py Don't expose flows that aren't initialised. (#30432) 2020-01-03 17:28:05 +01:00
test_light.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00