mirror of
https://github.com/ryantm/agenix.git
synced 2024-12-26 01:19:16 +03:00
Use new-style tests
This commit is contained in:
parent
ea17cc71b4
commit
effb43cb63
1 changed files with 4 additions and 6 deletions
|
@ -6,13 +6,12 @@
|
|||
config = {};
|
||||
},
|
||||
system ? builtins.currentSystem,
|
||||
} @ args:
|
||||
import "${nixpkgs}/nixos/tests/make-test-python.nix" ({pkgs, ...}: {
|
||||
}:
|
||||
pkgs.nixosTest {
|
||||
name = "agenix-integration";
|
||||
|
||||
nodes.system1 = {
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
options,
|
||||
...
|
||||
}: {
|
||||
|
@ -62,5 +61,4 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({pkgs, ...}: {
|
|||
system1.wait_for_file("/tmp/1")
|
||||
assert "${user}" in system1.succeed("cat /tmp/1")
|
||||
'';
|
||||
})
|
||||
args
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue