TEST-04-JOURNAL: apply "ruff format"

This commit is contained in:
Yu Watanabe
2026-05-18 02:44:46 +09:00
parent a562d59fd9
commit f6b2a27e59
@@ -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)