1
mirror of https://github.com/home-assistant/core synced 2024-10-07 10:13:38 +02:00
ha-core/tests
Greg Thornton dd715fcc3a
Add homekit camera support (#32527)
* Add homekit camera support

* Cleanup pyhapcamera inheritance

* Add camera to homekit manifest

* Use upstream pyhap server handler in homekit

* Remove unused homekit constants

* Fix lint errors in homekit camera

* Update homekit camera log messages

* Black after conflict fixes

* More conflict fixes

* missing srtp

* Allow streaming retry when ffmpeg fails to connect

* Fix inherit of camera config, force kill ffmpeg on failure

* Fix audio (Home Assistant only comes with OPUS)

* Fix audio (Home Assistant only comes with OPUS)

* Add camera to the list of supported domains.

* add a test for camera creation

* Add a basic test (still needs more as its only at 44% cover)

* let super handle reconfigure_stream

* Remove scaling as it does not appear to be needed and causes artifacts

* Some more basic tests

* make sure no exceptions when finding the source from the entity

* make sure the bridge forwards get_snapshot

* restore full coverage to accessories.py

* revert usage of super for start/stop stream

* one more test

* more mocking

* Remove -tune zerolatency, disable reconfigure_stream

* Restore -tune zerolatency

Co-authored-by: John Carr <john.carr@unrouted.co.uk>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-04 19:03:46 -05:00
..
auth Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
components Add homekit camera support (#32527) 2020-05-04 19:03:46 -05:00
fixtures Add zwave mqtt (#34987) 2020-05-03 02:54:16 +02:00
hassfest
helpers Extract instance ID helper from updater (#35043) 2020-05-04 11:23:12 -07:00
mock Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
resources
scripts Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_util
testing_config Address new issues flagged by flake8 3.8.0a2 (#34964) 2020-04-30 21:37:58 +02:00
util Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
__init__.py
async_mock.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
bandit.yaml
common.py Use a future for mock coro (#34989) 2020-04-30 16:31:00 -07:00
conftest.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_bootstrap.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_config_entries.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_config.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_core.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_data_entry_flow.py Allow flows to know if user is in advanced mode (#34629) 2020-04-24 09:31:56 -07:00
test_loader.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_main.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_requirements.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_setup.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00