hass-core/tests
Shai Ungar f50681e3d3
Migrate sabnzbd sensors unique ids (#71455)
* Migrate sensors unique ids

1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration

* move migrate to async_setup_entry

* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry

* fix too many lines

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/sabnzbd/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-09 09:27:23 +02:00
..
auth Add local only users (#57598) 2021-11-29 14:01:03 -08:00
backports Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880) 2021-12-03 09:31:17 +01:00
components Migrate sabnzbd sensors unique ids (#71455) 2022-05-09 09:27:23 +02:00
fixtures Prettify json (#68895) 2022-03-30 12:15:04 +02:00
hassfest Bump samsungtvws to 2.4.0 (#68225) 2022-03-16 20:44:14 -10:00
helpers Fix other enums in helpers (#71505) 2022-05-07 20:57:48 -07:00
pylint Update pylint to 2.13.0 (#68656) 2022-03-25 15:14:48 -07:00
resources
scripts Allow IntegrationNotFound when checking config in safe mode (#56283) 2021-09-17 22:25:50 -07:00
test_util Play first item in m3u and pls playlists when casting (#70047) 2022-04-26 13:16:37 -07:00
testing_config Stringify enums in selectors (#71441) 2022-05-06 11:25:01 -07:00
util Use ULID short format for context ids (#71119) 2022-05-01 21:44:54 -07:00
__init__.py
bandit.yaml
common.py Use recorder fixtures and helpers in tests (#70773) 2022-04-26 06:08:00 -10:00
conftest.py Bump pytest-socket to 0.5.1 (#69624) 2022-04-26 10:42:37 -10:00
ignore_uncaught_exceptions.py Log unhandled loop exception traces when asyncio debug is on (#57602) 2021-10-18 20:07:51 -07:00
test_bootstrap.py Simplify time zone setting in tests (#68330) 2022-03-20 10:25:15 +01:00
test_config.py Simplify time zone setting in tests (#68330) 2022-03-20 10:25:15 +01:00
test_config_entries.py Remove hass.helpers from config_entries (#70660) 2022-04-25 14:21:03 +02:00
test_core.py Reduce event loop overhead for listeners that already queue (#71364) 2022-05-05 23:09:10 -04:00
test_data_entry_flow.py Add support for menu step (#68203) 2022-03-16 14:14:50 -07:00
test_exceptions.py
test_loader.py Allow custom integrations to support application_credentials platform (#71129) 2022-05-01 16:26:22 -07:00
test_main.py
test_requirements.py Avoid checking if a package is installed if it already failed (#56698) 2021-09-26 22:32:25 -07:00
test_runner.py Log unhandled loop exception traces when asyncio debug is on (#57602) 2021-10-18 20:07:51 -07:00
test_setup.py Highlight in logs it is a custom component when setup fails (#67559) 2022-03-03 15:03:03 -08:00
test_test_fixtures.py Block tests from opening sockets (#55516) 2021-10-05 14:46:09 -10:00