Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0abc66e252ea
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 22162111446f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 6, 2020

  1. nixos/lib/test-driver: Fix require_unit_state hardcoded formatting

    (cherry picked from commit 85e866d)
    infinisil authored and Ma27 committed Apr 6, 2020
    Copy the full SHA
    2216211 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 nixos/lib/test-driver/test-driver.py
2 changes: 1 addition & 1 deletion nixos/lib/test-driver/test-driver.py
Original file line number Diff line number Diff line change
@@ -383,7 +383,7 @@ def require_unit_state(self, unit: str, require_state: str = "active") -> None:
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]: