forked from Fediversity/Fediversity
test for configuration passes, test for deployment wip
This commit is contained in:
parent
d185d5f94f
commit
4880766c59
1 changed files with 11 additions and 2 deletions
|
@ -108,8 +108,10 @@ in
|
|||
module =
|
||||
{ ... }:
|
||||
{
|
||||
options = {
|
||||
enable = lib.mkEnableOption "Hello in the shell";
|
||||
};
|
||||
};
|
||||
implementation =
|
||||
cfg:
|
||||
lib.optionalAttrs cfg.enable {
|
||||
|
@ -162,9 +164,16 @@ in
|
|||
);
|
||||
in
|
||||
{
|
||||
inherit (fediversity) example-deployment;
|
||||
inherit (fediversity)
|
||||
example-configuration
|
||||
example-deployment
|
||||
;
|
||||
};
|
||||
expected = {
|
||||
example-configuration = {
|
||||
enable = true;
|
||||
applications.hello.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue