]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-04-JOURNAL: apply "ruff format"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Feb 2026 16:58:16 +0000 (01:58 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 May 2026 17:44:46 +0000 (02:44 +0900)
test/integration-tests/TEST-04-JOURNAL/TEST-04-JOURNAL.units/logs-filtering-syslog.py

index e1d3ad7c116e60e64d6605e1a54dade127588804..e56348a7a1ddd08deef29ba5abcff73e1dd93b12 100755 (executable)
@@ -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)