nixos/tests/home-assistant: stop printing log
With multiple specialization changes this isn't very helpful anymore, but no biggie since we check the log for errors anyway and the log is not too verbose anyway.
This commit is contained in:
parent
cfbcf381c2
commit
d26a6e377d
1 changed files with 1 additions and 5 deletions
|
@ -172,12 +172,8 @@ in {
|
|||
new_pid = hass.succeed("systemctl show --property=MainPID home-assistant.service")
|
||||
assert pid != new_pid, "The PID of the process shoudl change when the HA binary changes"
|
||||
|
||||
with subtest("Print log to ease debugging"):
|
||||
output_log = hass.succeed("cat ${configDir}/home-assistant.log")
|
||||
print("\n### home-assistant.log ###\n")
|
||||
print(output_log + "\n")
|
||||
|
||||
with subtest("Check that no errors were logged"):
|
||||
output_log = hass.succeed("cat ${configDir}/home-assistant.log")
|
||||
assert "ERROR" not in output_log
|
||||
|
||||
with subtest("Check systemd unit hardening"):
|
||||
|
|
Loading…
Reference in a new issue