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)
|
||||
example-configuration
|
||||
;
|
||||
num-packages = lib.lists.length fediversity.example-deployment.users.users.operator.packages;
|
||||
};
|
||||
expected = {
|
||||
example-configuration = {
|
||||
enable = true;
|
||||
applications.hello.enable = true;
|
||||
};
|
||||
num-packages = 1;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue