test proper expectation

test proper expectation
This commit is contained in:
Kiara Grouwstra 2025-07-22 14:58:24 +02:00
parent 455043bbf9
commit 0c1628e8e1
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -179,15 +179,22 @@ in
{ {
inherit (fediversity) inherit (fediversity)
example-configuration example-configuration
example-deployment
; ;
has-deployment = lib.isAttrs fediversity.example-deployment.resources.the-machine;
}; };
expected = { expected = {
example-configuration = { example-configuration = {
enable = true; enable = true;
applications.hello.enable = true; applications.hello.enable = true;
}; };
has-deployment = true; example-deployment = {
_class = "nixos";
users.users.operator = {
isNormalUser = true;
extraGroups = [ ];
packages = [ ];
};
};
}; };
}; };
} }