mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Fix log follow mode without range header (#5347)
This commit is contained in:
@@ -15,6 +15,7 @@ from tests.dbus_service_mocks.base import DBusServiceMock
|
||||
from tests.dbus_service_mocks.systemd import Systemd as SystemdService
|
||||
|
||||
DEFAULT_RANGE = "entries=:-99:100"
|
||||
DEFAULT_RANGE_FOLLOW = "entries=:-99:"
|
||||
# pylint: disable=protected-access
|
||||
|
||||
|
||||
@@ -233,7 +234,7 @@ async def test_advanced_logs(
|
||||
"SYSLOG_IDENTIFIER": coresys.host.logs.default_identifiers,
|
||||
"follow": "",
|
||||
},
|
||||
range_header=DEFAULT_RANGE,
|
||||
range_header=DEFAULT_RANGE_FOLLOW,
|
||||
accept=LogFormat.JOURNAL,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user