hass-core/tests
Mick Vleeshouwer 75f237b587
Add local API support to Overkiz integration (Somfy TaHoma Developer Mode) (#71644)
* Add initial config flow implementation

* Add initial config flow implementation

* Add todos

* Bugfixes

* Add first zeroconf code

* Fixes for new firmware

* Bugfixes for local integration

* Delete local token

* Fix diagnostics

* Update translations and improve code

* Update translations and improve code

* Add local integration updates

* Add local integration updates

* Small tweaks

* Add comments

* Bugfix

* Small code improvements

* Small code improvements

* Small code improvements

* Small code improvements

* Small code improvements

* Small code improvements

* Bugfixes

* Small code improvements

* Small code improvements

* Change Config Flow (breaking change)

* Remove token when integration is unloaded

* Remove print

* Simplify

* Bugfixes

* Improve configflow

* Clean up unnecessary things

* Catch nosuchtoken exception

* Add migration for Config Flow

* Add version 2 migration

* Revert change in Config Flow

* Fix api type

* Update strings

* Improve migrate entry

* Implement changes

* add more comments

* Extend diagnostics

* Ruff fixes

* Clean up code

* Bugfixes

* Set gateway id

* Start writing tests

* Add first local test

* Code coverage to 64%

* Fixes

* Remove local token on remove entry

* Add debug logging + change manifest

* Add developer mode check

* Fix not_such_token issue

* Small text changes

* Bugfix

* Fix tests

* Address feedback

* DRY

* Test coverage to 77%

* Coverage to 78%

* Remove token removal by UUID

* Add better retry methods

* Clean up

* Remove old data

* 87% coverage

* 90% code coverage

* 100% code coverage

* Use patch.multiple

* Improve tests

* Apply pre-commit after rebase

* Fix breaking changes in ZeroconfServiceInfo

* Add verify_ssl

* Fix test import

* Fix tests

* Catch SSL verify failed

* Revert hub to server rename

* Move Config Flow version back to 1

* Add diagnostics tests

* Fix tests

* Fix strings

* Implement feedback

* Add debug logging for local connection errors

* Simplify Config Flow and fix tests

* Simplify Config Flow

* Fix verify_ssl

* Fix rebase mistake

* Address feedback

* Apply suggestions from code review

* Update tests/components/overkiz/test_config_flow.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-22 16:53:17 +01:00
..
auth Avoid conversion of timestamps in jwt auth (#101856) 2023-10-13 14:11:17 +02:00
components Add local API support to Overkiz integration (Somfy TaHoma Developer Mode) (#71644) 2023-11-22 16:53:17 +01:00
fixtures Improve formatting of package errors (#103976) 2023-11-16 09:08:47 +01:00
hassfest
helpers Rename some check_config test cases (#104244) 2023-11-20 13:02:44 +01:00
pylint Add pylint plugin to check for calls to base implementation (#100432) 2023-09-18 13:39:36 -05:00
resources
scripts Differentiate between warnings and errors in check_config helper (#102902) 2023-11-05 03:08:04 +01:00
snapshots Small improvement of config tests (#104243) 2023-11-20 14:15:29 +01:00
test_util Bump aiohttp to 3.9.0rc0 for python 3.12 only (#103507) 2023-11-15 01:02:14 +01:00
testing_config Cleanup weather test (#103090) 2023-11-03 05:53:38 +01:00
util Fix including yaml files with scalar values (#103914) 2023-11-13 15:23:50 +01:00
__init__.py
common.py Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
conftest.py Fix zeroconf mocking (#104144) 2023-11-17 16:20:54 -06:00
ignore_uncaught_exceptions.py
patch_time.py
ruff.toml
syrupy.py
test_bootstrap.py Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
test_config.py Small improvement of config tests (#104243) 2023-11-20 14:15:29 +01:00
test_config_entries.py Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
test_core.py Avoid looking up the callable type for HassJob when we already know it (#102962) 2023-10-30 12:45:22 +01:00
test_data_entry_flow.py Validate steps in Flowhandler (#102152) 2023-10-19 13:34:10 +02:00
test_exceptions.py
test_loader.py Rename safe mode to recovery mode (#102580) 2023-10-23 20:33:08 +02:00
test_main.py
test_requirements.py Update base image to 2023.10.0 (#102126) 2023-10-18 19:11:41 +02:00
test_runner.py
test_setup.py Quote domain name in setup logs (#104239) 2023-11-20 12:55:16 +01:00
test_test_fixtures.py
typing.py