nixos/lib/test-driver: Fix require_unit_state hardcoded formatting
This commit is contained in:
parent
5d3f4e9c0b
commit
85e866db6f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue