hass-core/tests
Joakim Plate 8bd4125390
Test corrections noticed during pytest upgrade (#82579)
* Withing trigger a call to coordinator after init

* Stop discovery task on STOP event

* Stop dsmr connection task on STOP

* Use autospec in modem_serial tests

close on AioSerial is non async, and should not be mocked as a coroutine

* Make sure responder is specced correctly

tests/components/emulated_hue/test_init.py::test_setup_works
  /Users/joakim/src/hass/home-assistant/homeassistant/components/emulated_hue/__init__.py:119: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
    protocol.close()

* Don't assume Pymodbus is the only thing logging

* Use gather instead of wait

```
homeassistant/components/homeassistant/__init__.py:208: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.
```

* Increase wait time for automation tests

Assuming exit within 1 seconds is unreasonable on a potentially loaded
test machine.

* Avoid changing app state after startup
2022-11-23 20:53:28 +01:00
..
auth
backports
components Test corrections noticed during pytest upgrade (#82579) 2022-11-23 20:53:28 +01:00
fixtures Add HmIP-WGC to homematicip_cloud integration (#75733) 2022-11-03 12:03:49 +01:00
hassfest Remove duplicate code in hassfest model (#82203) 2022-11-17 09:10:37 +01:00
helpers Add type hints to template tests (#82566) 2022-11-23 20:28:52 +01:00
pylint
resources
scripts
test_util
testing_config Configure autoflake for pre-commit (#82414) 2022-11-22 08:10:36 +01:00
util Significantly reduce clock_gettime syscalls on platforms with broken vdso (#81257) 2022-10-31 09:35:08 -04:00
__init__.py
bandit.yaml
common.py Improve time change helper comments (#82349) 2022-11-19 04:04:19 +01:00
conftest.py Offload platform specific bluetooth code to bluetooth-adapters (#82196) 2022-11-17 14:34:19 -05:00
ignore_uncaught_exceptions.py
test_bootstrap.py Fix typo SIGNAL_BOOTSTRAP_INTEGRATONS -> SIGNAL_BOOTSTRAP_INTEGRATIONS (#79970) 2022-10-09 17:06:28 -10:00
test_config.py Create repairs issue if an outdated currency code is configured in core store (#81772) 2022-11-10 17:28:19 +01:00
test_config_entries.py Revert #81771 (wait_for_states) and #81801 (late review) (#82085) 2022-11-18 17:16:03 +01:00
test_core.py Refactor access to ConfigStore (#80467) 2022-10-17 13:59:04 +02:00
test_data_entry_flow.py
test_exceptions.py Fix TemplateError definition (#82570) 2022-11-23 20:30:32 +01:00
test_loader.py Change manufacturer_data_first_byte to manufacturer_data_start (#75379) 2022-07-17 17:25:45 -05:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py
test_test_fixtures.py Set cv hass in hass fixture (#77271) 2022-08-25 12:29:31 +02:00