We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f731713 commit 6fad7d1Copy full SHA for 6fad7d1
tests/api/test_host.py
@@ -355,11 +355,11 @@ async def test_advanced_logs_formatters(
355
journal_logs_reader.assert_called_once_with(ANY, LogFormatter.VERBOSE)
356
357
358
-async def test_advanced_logs_errors(api_client: TestClient):
+async def test_advanced_logs_errors(coresys: CoreSys, api_client: TestClient):
359
"""Test advanced logging API errors."""
360
- # coresys = coresys_logs_control
361
with patch("supervisor.host.logs.SYSTEMD_JOURNAL_GATEWAYD_SOCKET") as socket:
362
socket.is_socket.return_value = False
+ await coresys.host.logs.post_init()
363
resp = await api_client.get("/host/logs")
364
assert resp.content_type == "text/plain"
365
assert resp.status == 400
0 commit comments