core/tests/components/homeassistant/triggers
J. Nick Koston 3a06659120
Speed up single entity/response service calls (#96729)
* Significantly speed up single entity/response service calls

Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather

* Significantly speed up single entity/response service calls

Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather

* revert

* cannot be inside pytest.raises

* one more

* Update homeassistant/helpers/service.py
2023-07-17 09:33:13 +02:00
..
__init__.py
conftest.py Add type hints for stub_blueprint_populate fixture (#93568) 2023-05-26 08:13:13 +02:00
test_event.py Add type hints to integration tests (part 2) (#88493) 2023-02-21 09:25:05 +01:00
test_homeassistant.py Add type hints to integration tests (part 2) (#88493) 2023-02-21 09:25:05 +01:00
test_numeric_state.py Set automations which fail validation unavailable (#94856) 2023-06-27 18:23:33 +02:00
test_state.py Set automations which fail validation unavailable (#94856) 2023-06-27 18:23:33 +02:00
test_time.py Speed up single entity/response service calls (#96729) 2023-07-17 09:33:13 +02:00
test_time_pattern.py Add type hints to integration tests (part 2) (#88493) 2023-02-21 09:25:05 +01:00