Merge pull request #84517 from Infinisil/fix-test-driver-formatting
nixos/lib/test-driver: Fix require_unit_state hardcoded formatting
This commit is contained in:
commit
6541f75f80
@ -387,7 +387,7 @@ class Machine:
|
||||
if state != require_state:
|
||||
raise Exception(
|
||||
"Expected unit ‘{}’ to to be in state ".format(unit)
|
||||
+ "'active' but it is in state ‘{}’".format(state)
|
||||
+ "'{}' but it is in state ‘{}’".format(require_state, state)
|
||||
)
|
||||
|
||||
def execute(self, command: str) -> Tuple[int, str]:
|
||||
|
Loading…
Reference in New Issue
Block a user