diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-04-06 23:54:18 +0200 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-04-06 23:55:04 +0200 |
commit | 85e866db6f0a3cfd47666af49cdfeefcffbce0c9 (patch) | |
tree | 8a02971b8355c4d7b94d2e5ffa7b5c7e7974816d | |
parent | 5d3f4e9c0b9c3ccfbd48e5b472ad064215fd4a28 (diff) |
nixos/lib/test-driver: Fix require_unit_state hardcoded formatting
-rw-r--r-- | nixos/lib/test-driver/test-driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/test-driver.py b/nixos/lib/test-driver/test-driver.py index 744fadb1a4f3..07f27515990b 100644 --- a/nixos/lib/test-driver/test-driver.py +++ b/nixos/lib/test-driver/test-driver.py @@ -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]: |