hass-core/tests
Phil Bruckner 0a65f53356
Convert life360 integration to entity based (#72461)
* Convert life360 integration to entity based

* Improve config_flow.py type checking

* Add tests for config flow

Fix form defaults for reauth flow.

* Cover reauth when config entry loaded

* Update per review (except for dataclasses)

* Restore check for missing location information

This is in current code but was accidentally removed in this PR.

* Fix updates from review

* Update tests per review changes

* Change IntegData to a dataclass

* Use dataclasses to represent fetched Life360 data

* Always add extra attributes

* Update per review take 2

* Tweak handling of bad last_seen or location_accuracy

* Fix type of Life360Member.gps_accuracy

* Update per review take 3

* Update .coveragerc

* Parametrize successful reauth flow test

* Fix test coverage failure

* Update per review take 4

* Fix config schema
2022-06-29 18:40:02 +02:00
..
auth Add EVENT_USER_UPDATED (#71965) 2022-06-09 20:49:02 -07:00
backports
components Convert life360 integration to entity based (#72461) 2022-06-29 18:40:02 +02:00
fixtures Fix Feedreader Atom feeds using updated date (#73208) 2022-06-08 20:32:01 +02:00
hassfest
helpers Adjust entity filters to make includes stronger than excludes (#74080) 2022-06-28 11:42:51 -05:00
pylint Add base Entity to pylint checks (#73902) 2022-06-27 12:10:31 +02:00
resources
scripts
test_util Make aiohttp mockers aware of the json loads kwarg (#73939) 2022-06-24 08:44:35 +02:00
testing_config Weather unit conversion (#73441) 2022-06-23 10:48:30 +02:00
util Support knots and ft/s in weather wind speed (#74175) 2022-06-29 16:34:41 +02:00
__init__.py
bandit.yaml
common.py Add Entity.has_entity_name attribute (#73217) 2022-06-28 09:38:05 -07:00
conftest.py Update MQTT tests to use the config entry setup (#72373) 2022-06-02 14:24:46 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Use supervisor envs instead of hassio (#72601) 2022-05-30 12:00:13 +02:00
test_config.py Significantly improve yaml load times when the C loader is available (#73337) 2022-06-13 08:44:46 -10:00
test_config_entries.py Prevent config entries from being reloaded while they are setting up (#73387) 2022-06-12 23:05:08 -07:00
test_core.py Fix memory leak when firing state_changed events (#72571) 2022-05-26 20:54:26 -07:00
test_data_entry_flow.py
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 Check if requirements are installed in the executor (#71611) 2022-06-13 13:10:05 -07:00
test_runner.py
test_setup.py
test_test_fixtures.py