forked from Fediversity/Fediversity
add trivial unit test for deployment - now to find how to make it work!
test proper expectation test proper expectation settle for counting packages over comparing them, solves an infinite recursion
This commit is contained in:
parent
1b3dc70466
commit
8173f65f18
1 changed files with 2 additions and 0 deletions
|
@ -181,12 +181,14 @@ in
|
||||||
inherit (fediversity)
|
inherit (fediversity)
|
||||||
example-configuration
|
example-configuration
|
||||||
;
|
;
|
||||||
|
num-packages = lib.lists.length fediversity.example-deployment.users.users.operator.packages;
|
||||||
};
|
};
|
||||||
expected = {
|
expected = {
|
||||||
example-configuration = {
|
example-configuration = {
|
||||||
enable = true;
|
enable = true;
|
||||||
applications.hello.enable = true;
|
applications.hello.enable = true;
|
||||||
};
|
};
|
||||||
|
num-packages = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue