hass-core/tests
Raman Gupta 5f7964b54b
Add firmware updates support for zwave_js ()
* Add WS API support for zwave_js firmware updates

* move file to fixture

* review comments

* fix logic and test based on upstream changes

* handle failure scenario

* handle failure scenario

* fix tests and adjust message

* Update homeassistant/components/zwave_js/api.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* remove return from firmware upload view because client will raise an exception if not successful

* raise if user is not an admin

* raise bad request exception if firmware command fails

* incorporate 

* Add test for failed command

* add event name to messages

* change error to not found

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-26 02:57:00 -04:00
..
auth Remove stale debug statements from tests () 2021-05-25 11:52:20 +02:00
components Add firmware updates support for zwave_js () 2021-05-26 02:57:00 -04:00
fixtures Handle clamped fan maxValue in homekit_controller () 2021-05-25 16:06:17 -05:00
hassfest Block custom integrations with missing or invalid version () 2021-05-17 15:48:41 +02:00
helpers Make more max lengths constants and add additional MaxLengthExceeded checks () 2021-05-25 19:58:01 +02:00
mock Disable strict type checks for tests () 2021-04-29 15:57:02 +02:00
resources
scripts Cleanup unused loggers () 2021-02-14 13:46:58 +01:00
test_util Detach aiohttp.ClientSession created by config entry setup on unload () 2021-04-09 10:14:33 -07:00
testing_config Block custom integrations with missing or invalid version () 2021-05-17 15:48:41 +02:00
util Use whoami for location lookup () 2021-05-22 20:34:48 -07:00
__init__.py
bandit.yaml Enable more Bandit tests () 2020-12-19 12:35:13 +01:00
common.py Migrate from pytz to python-dateutil () 2021-05-07 22:46:26 -07:00
conftest.py Compile statistics for energy sensors () 2021-05-20 13:05:15 +02:00
ignore_uncaught_exceptions.py Don't try and store exceptions when the key is missing () 2020-10-16 10:01:58 +02:00
test_bootstrap.py Avoid sending empty integration list multiple times during subscribe_bootstrap_integrations () 2021-04-15 23:16:17 -07:00
test_config.py Remove stale debug statements from tests () 2021-05-25 11:52:20 +02:00
test_config_entries.py Change config entry state to an enum () 2021-05-20 19:19:20 +02:00
test_core.py Define sync hass.create_task function () 2021-05-17 14:54:06 -05:00
test_data_entry_flow.py Use config_entries.SOURCE_* constants () 2021-04-25 11:27:40 +02:00
test_exceptions.py Remove stale debug statements from tests () 2021-05-25 11:52:20 +02:00
test_loader.py Ensure startup can proceed if async_get_integration raises () 2021-05-17 17:32:05 -05:00
test_main.py Drop asynctest () 2021-01-01 22:31:56 +01:00
test_requirements.py Fix deadlock in async_get_integration_with_requirements after failed dep pip install () 2021-04-22 22:32:38 +02:00
test_runner.py Ensure shutdown does not deadlock () 2021-04-18 08:55:51 -10:00
test_setup.py Replace http startup logic with async_when_setup_or_start () 2021-04-13 14:10:58 -07:00