Compare commits

..

18 Commits

Author SHA1 Message Date
Stefan Allius
c6a5490229 update changelog 2025-05-10 19:27:56 +02:00
Stefan Allius
bdf08f64a1 update changelog 2025-05-10 19:25:25 +02:00
Stefan Allius
25145a9c29 check print output in test_save_and_restore 2025-05-08 00:23:44 +02:00
Stefan Allius
628f992922 coverage: ignore quart template files 2025-05-08 00:22:49 +02:00
Stefan Allius
fc93930656 add unit test for error handling in build_config() 2025-05-07 23:42:55 +02:00
Stefan Allius
e1f0aac9bf fix deprecated pytest async warning
- Cleanup pending async tasks
- fix deprecated warning about event_loop
2025-05-07 23:37:24 +02:00
Stefan Allius
b321cfce0f add HypercornLogHndl tests 2025-05-07 12:05:58 +02:00
Stefan Allius
cf9911f2f1 test the init_logging_system() method 2025-05-07 11:42:04 +02:00
Stefan Allius
d35c4e7b90 move code from app.py into server.py 2025-05-07 10:26:58 +02:00
Stefan Allius
911d0a9612 add unit tests 2025-05-06 22:23:41 +02:00
Stefan Allius
4012196fcd remove Web() instance from the testcase
- with importing app.py The blueprint Web() will
  automatically created and a second call in test-
  cases must avoided
2025-05-05 23:58:30 +02:00
Stefan Allius
cfe13a01d1 define config in test_emu_init_close 2025-05-05 23:50:20 +02:00
Stefan Allius
ab2d4ed831 move get_log_level into Server class 2025-05-05 23:47:06 +02:00
Stefan Allius
089fb92a43 change proxy into a ASGI application
- move Quart init from server.py into app.py
- create Server class for config and loggin setup
- restore hypercorn logging configuration after
  start of Quart/Hypercorn
2025-05-05 23:35:13 +02:00
Stefan Allius
6560079d89 fix the hypercorn log handler only once 2025-05-05 09:16:14 +02:00
Stefan Allius
4688e6a75b workaround: restore the hypercorn logger config
- quart/hyercorn overwrites the logger config.
  as a workaround we restore the config at the
  beginning of a request
2025-05-05 08:23:41 +02:00
Stefan Allius
4f6764e151 use logger.ini to setup dashboard logger 2025-05-05 08:22:13 +02:00
Stefan Allius
484df1dc46 setup logger for hypercorn and dashboard 2025-05-05 08:21:34 +02:00
2 changed files with 1 additions and 2 deletions

View File

@@ -7,7 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased]
- Update ghcr.io/hassio-addons/base Docker tag to v17.2.5
- fix a lot of pytest-asyncio problems in the unit tests
- Cleanup startup code for Quart and the Proxy
- Redirect the hypercorn traces to a separate log-file

View File

@@ -13,7 +13,7 @@
# 1 Build Base Image #
######################
ARG BUILD_FROM="ghcr.io/hassio-addons/base:17.2.5"
ARG BUILD_FROM="ghcr.io/hassio-addons/base:17.2.4"
# hadolint ignore=DL3006
FROM $BUILD_FROM AS base