hass-core/homeassistant/components/http
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
..
__init__.py Expose http constants in root (#78267) 2022-09-12 18:41:18 +02:00
auth.py Make Store a generic class (#74617) 2022-07-09 22:32:57 +02:00
ban.py Test corrections noticed during pytest upgrade (#82579) 2022-11-23 20:53:28 +01:00
const.py
cors.py
data_validator.py Improve http decorator typing (#75541) 2022-07-21 13:07:42 +02:00
forwarded.py
manifest.json Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
request_context.py
security_filter.py
static.py Fix HTTP 404 being logged as a stack trace (#75861) 2022-07-28 16:43:32 +02:00
view.py Initial orjson support take 3 (#73849) 2022-06-22 21:59:51 +02:00
web_runner.py