nixos/tests: correct arguments to get_unit_info

This commit is contained in:
Leonhard Markert 2019-11-08 15:01:42 +01:00 committed by GitHub
parent c62815d35f
commit c7becac738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,7 +306,7 @@ class Machine:
if state == "inactive":
status, jobs = self.systemctl("list-jobs --full 2>&1", user)
if "No jobs" in jobs:
info = self.get_unit_info(unit)
info = self.get_unit_info(unit, user)
if info["ActiveState"] == state:
raise Exception(
(