tests: clean up tests
- Move all module tests to their own directories. - Avoid duplication of `// import`.
This commit is contained in:
parent
fba87f8998
commit
de8033747c
17 changed files with 54 additions and 36 deletions
3
tests/modules/programs/browserpass/default.nix
Normal file
3
tests/modules/programs/browserpass/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
browserpass = ./browserpass.nix;
|
||||
}
|
||||
3
tests/modules/programs/getmail/default.nix
Normal file
3
tests/modules/programs/getmail/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
getmail = ./getmail.nix;
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
with lib;
|
||||
|
||||
{
|
||||
imports = [ ../accounts/email-test-accounts.nix ];
|
||||
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||
|
||||
config = {
|
||||
home.username = "hm-user";
|
||||
3
tests/modules/programs/mbsync/default.nix
Normal file
3
tests/modules/programs/mbsync/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
mbsync = ./mbsync.nix;
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
with lib;
|
||||
|
||||
{
|
||||
imports = [ ../accounts/email-test-accounts.nix ];
|
||||
imports = [ ../../accounts/email-test-accounts.nix ];
|
||||
|
||||
config = {
|
||||
home.username = "hm-user";
|
||||
3
tests/modules/programs/texlive/default.nix
Normal file
3
tests/modules/programs/texlive/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
texlive-minimal = ./texlive-minimal.nix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue