Fix log follow mode without range header #7559
Annotations
8 errors
Run tests Python 3.12.7:
tests/api/test_addons.py#L76
test_api_addon_logs
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'addon_local_ssh', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'addon_local_ssh', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7:
tests/api/test_audio.py#L12
test_api_audio_logs
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_audio', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_audio', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7:
tests/api/test_dns.py#L71
test_api_dns_logs
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_dns', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_dns', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7:
tests/api/test_homeassistant.py#L24
test_api_core_logs[True]
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7:
tests/api/test_homeassistant.py#L24
test_api_core_logs[False]
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'homeassistant', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7:
tests/api/test_multicast.py#L12
test_api_multicast_logs
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_multicast', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_multicast', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7:
tests/api/test_supervisor.py#L161
test_api_supervisor_logs
AssertionError: expected call not found.
Expected: mock(params={'SYSLOG_IDENTIFIER': 'hassio_supervisor', 'follow': ''}, range_header='entries=:-99:100', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
Actual: mock(params={'SYSLOG_IDENTIFIER': 'hassio_supervisor', 'follow': ''}, range_header='entries=:-99:', accept=<LogFormat.JOURNAL: 'application/vnd.fdo.journal'>)
|
Run tests Python 3.12.7
Process completed with exit code 1.
|