hass-core/tests
Allen Porter 022ba31999
Refactor the logic for peeking into the start of the stream (#52699)
* Reset dts validator when container is reset

* Reuse existing dts_validator when disabling audio stream

* Refactor peek logic at the start of a stream

Add a PeekingIterator to support rewinding an iterator so that the code
for adjusting audio streams and start pts can be inlined in the worker.

* Simplification and readability improvements

* Remove unnecessary verbiage from comments and pydoc

* Address pylint errors

* Remove rewind function and just mux the first packet separately

* More cleanup after removing rewind()

* Skip check to self._buffer on every iteration
2021-07-27 08:53:42 -07:00
..
auth String formatting cleanups (#52937) 2021-07-13 00:12:55 +02:00
components Refactor the logic for peeking into the start of the stream (#52699) 2021-07-27 08:53:42 -07:00
fixtures Support controlling Flowerbud spray level via homekit_controller (#53493) 2021-07-26 10:46:36 -05:00
hassfest Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
helpers Support dynamic schema validation in device conditions and actions (#52007) 2021-06-28 09:23:46 +02:00
mock Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
resources
scripts Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
test_util Detach aiohttp.ClientSession created by config entry setup on unload (#48908) 2021-04-09 10:14:33 -07:00
testing_config Vacation Mode on Alarm Panels (#45980) 2021-07-01 17:26:32 +02:00
util Upgrade pyupgrade to 2.21.2, apply its changes (#52987) 2021-07-19 10:46:09 +02:00
__init__.py
bandit.yaml Enable more Bandit tests (#44307) 2020-12-19 12:35:13 +01:00
common.py Minor improvements of MQTT typing (#52578) 2021-07-06 14:38:48 +02:00
conftest.py Update statistics meta data on entity_id change (#52755) 2021-07-14 13:23:11 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Avoid sending empty integration list multiple times during subscribe_bootstrap_integrations (#49181) 2021-04-15 23:16:17 -07:00
test_config.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_config_entries.py Abort existing reauth flow on entry removal (#52407) 2021-07-02 20:56:51 +02:00
test_core.py Upgrade pyupgrade to 2.21.2, apply its changes (#52987) 2021-07-19 10:46:09 +02:00
test_data_entry_flow.py Use flow result type constants more (#51122) 2021-05-29 14:09:13 +02:00
test_exceptions.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_loader.py Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
test_main.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_requirements.py Ensure PyPI packages can still be installed on high latency connections (#53365) 2021-07-24 14:07:10 +02:00
test_runner.py Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
test_setup.py Replace http startup logic with async_when_setup_or_start (#48784) 2021-04-13 14:10:58 -07:00