1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

tests: fix integration test

(cherry picked from commit 8cf9cb2ee7)
This commit is contained in:
Robert Helgesson 2024-11-22 20:32:42 +01:00
parent d47cc14f28
commit 2d63276f05
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -49,7 +49,7 @@
start_all() start_all()
machine.wait_for_unit("home-manager-alice.service") machine.wait_for_console_text("Finished Home Manager environment for alice.")
with subtest("Home Manager file"): with subtest("Home Manager file"):
# The file should be linked with the expected content. # The file should be linked with the expected content.
@ -73,7 +73,7 @@
fail_as_alice("pueue status") fail_as_alice("pueue status")
machine.systemctl("restart home-manager-alice.service") machine.systemctl("restart home-manager-alice.service")
machine.wait_for_unit("home-manager-alice.service") machine.wait_for_console_text("Finished Home Manager environment for alice.")
actual = succeed_as_alice("pueue status") actual = succeed_as_alice("pueue status")
expected = "running" expected = "running"