Unverified Commit b2069e7f authored by Honnip's avatar Honnip
Browse files

nixosTests.gnome-extensions: `ENABLED` and `DISABLED` states are renamed

https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/01e9724d75a273ca43a7c268302d6c3802c8f850
Fix the test failure caused by the renaming of the states name from `ENABLED`, `DISABLED` to `ACTIVE` and `INACTIVE`
parent d7062ba8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -137,11 +137,11 @@ import ./make-test-python.nix (
            # Enable and optionally disable

            machine.succeed(f"${run "gnome-extensions enable {extension}"}")
            checkState("ENABLED", extension)
            checkState("ACTIVE", extension)

            if disable:
                machine.succeed(f"${run "gnome-extensions disable {extension}"}")
                checkState("DISABLED", extension)
                checkState("INACTIVE", extension)
    ''
    + lib.concatLines (map (e: ''checkExtension("${e}", False)'') alwaysOnExtensions)
    + lib.concatLines (map (e: ''checkExtension("${e}", True)'') testExtensions)