From f6b2a27e5956b510be992c6dc0fe52a5d4789833 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 20 Feb 2026 01:58:16 +0900 Subject: [PATCH] TEST-04-JOURNAL: apply "ruff format" --- .../TEST-04-JOURNAL.units/logs-filtering-syslog.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/logs-filtering-syslog.py b/test/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/logs-filtering-syslog.py index e1d3ad7c11..e56348a7a1 100755 --- a/test/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/logs-filtering-syslog.py +++ b/test/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/logs-filtering-syslog.py @@ -5,10 +5,7 @@ import subprocess import syslog if __name__ == '__main__': - syslog.openlog(ident="logs-filtering", logoption=syslog.LOG_PID) - syslog.syslog(syslog.LOG_NOTICE, "Logging from the service, and ~more~ foo bar") + syslog.openlog(ident='logs-filtering', logoption=syslog.LOG_PID) + syslog.syslog(syslog.LOG_NOTICE, 'Logging from the service, and ~more~ foo bar') - subprocess.check_output( - ['journalctl', '--sync'], - stdin=subprocess.DEVNULL, - text=True) + subprocess.check_output(['journalctl', '--sync'], stdin=subprocess.DEVNULL, text=True)