hass-core/tests
Dave T 6419950283
Aurora abb improvements (#58504)
* Add type hints.

* Refactor AuroraDevice to AuroraDeviceEntity

* Refactor AuroraDevice to AuroraDeviceEntity

* Connection class is defined in manifest.

* Separate words with underscore in variable names

* Remove duplicated code.

* Remove unused "unknown" string

* Test import yaml when integration already setup

* Remove test already done in config_flow test

* Convert variable names to snake case

* Shorten AuroraDeviceEntity to AuroraEntity

* Add typing

* Remove unnecessary integration setup in test.

* Refactor "already_setup" to "already_configured"

* Use common string

* Reduce the amount of code in the try block.

* Fix merge

* Allow yaml setup to be deferred if no comms

* Properly setup all sensors for defered yaml setup.

* Apply suggestions from code review

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

* Add type hints.

* Refactor AuroraDevice to AuroraDeviceEntity

* Refactor AuroraDevice to AuroraDeviceEntity

* Connection class is defined in manifest.

* Separate words with underscore in variable names

* Remove duplicated code.

* Remove unused "unknown" string

* Test import yaml when integration already setup

* Remove test already done in config_flow test

* Convert variable names to snake case

* Shorten AuroraDeviceEntity to AuroraEntity

* Add typing

* Remove unnecessary integration setup in test.

* Refactor "already_setup" to "already_configured"

* Use common string

* Reduce the amount of code in the try block.

* Allow yaml setup to be deferred if no comms

* Properly setup all sensors for defered yaml setup.

* Code review: move line out of try block.

* Improve test coverage

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 04:38:47 +01:00
..
auth Guard linking credential that is already linked (#57595) 2021-10-13 17:36:31 +02:00
components Aurora abb improvements (#58504) 2021-11-04 04:38:47 +01:00
fixtures Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
hassfest Use regex instead of partition to section package definition (#58278) 2021-10-23 13:19:56 +02:00
helpers Use freezegun in DST tests (#58939) 2021-11-02 18:11:39 +01:00
mock Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
resources
scripts Allow IntegrationNotFound when checking config in safe mode (#56283) 2021-09-17 22:25:50 -07:00
test_util Use HTTPStatus instead of HTTP_* constants in various test mocks (#56543) 2021-10-01 15:52:45 -07:00
testing_config Add support for white to light groups (#55082) 2021-08-23 18:29:44 +02:00
util Fix find_next_time_expression_time (#58894) 2021-11-01 17:45:13 +01:00
__init__.py
bandit.yaml Enable more Bandit tests (#44307) 2020-12-19 12:35:13 +01:00
common.py Use freezegun in DST tests (#58939) 2021-11-02 18:11:39 +01:00
conftest.py Use freezegun in DST tests (#58939) 2021-11-02 18:11:39 +01: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 Report integrations that block startup wrap up (#56003) 2021-09-09 20:39:22 -07:00
test_config.py Ensure internal/external URL have no path (#54304) 2021-08-09 09:38:09 +02:00
test_config_entries.py Index in-progress flows to avoid linear search (#58146) 2021-10-22 07:19:49 -10:00
test_core.py Fix external internal url core check (#54310) 2021-08-09 10:52:14 +02:00
test_data_entry_flow.py Index in-progress flows to avoid linear search (#58146) 2021-10-22 07:19:49 -10:00
test_exceptions.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_loader.py Ensure domain is correct format (#58429) 2021-10-25 15:56:07 -07:00
test_main.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
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 Replace http startup logic with async_when_setup_or_start (#48784) 2021-04-13 14:10:58 -07:00
test_test_fixtures.py Block tests from opening sockets (#55516) 2021-10-05 14:46:09 -10:00