tests: move git and files tests to directories

This commit is contained in:
Robert Helgesson 2019-12-08 21:39:45 +01:00
parent 5c9ec0d8e9
commit bcfc52cb85
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
9 changed files with 14 additions and 8 deletions

View file

@ -17,13 +17,6 @@ import nmt {
testedAttrPath = [ "home" "activationPackage" ]; testedAttrPath = [ "home" "activationPackage" ];
tests = { tests = {
browserpass = ./modules/programs/browserpass.nix; browserpass = ./modules/programs/browserpass.nix;
files-executable = ./modules/files/executable.nix;
files-hidden-source = ./modules/files/hidden-source.nix;
files-source-with-spaces = ./modules/files/source-with-spaces.nix;
files-text = ./modules/files/text.nix;
git-with-email = ./modules/programs/git-with-email.nix;
git-with-most-options = ./modules/programs/git.nix;
git-with-str-extra-config = ./modules/programs/git-with-str-extra-config.nix;
mbsync = ./modules/programs/mbsync.nix; mbsync = ./modules/programs/mbsync.nix;
texlive-minimal = ./modules/programs/texlive-minimal.nix; texlive-minimal = ./modules/programs/texlive-minimal.nix;
xresources = ./modules/xresources.nix; xresources = ./modules/xresources.nix;
@ -41,10 +34,12 @@ import nmt {
// import ./modules/services/sxhkd // import ./modules/services/sxhkd
// import ./modules/systemd // import ./modules/systemd
) )
// import ./modules/files
// import ./modules/home-environment // import ./modules/home-environment
// import ./modules/misc/fontconfig // import ./modules/misc/fontconfig
// import ./modules/programs/alacritty // import ./modules/programs/alacritty
// import ./modules/programs/bash // import ./modules/programs/bash
// import ./modules/programs/git
// import ./modules/programs/gpg // import ./modules/programs/gpg
// import ./modules/programs/newsboat // import ./modules/programs/newsboat
// import ./modules/programs/readline // import ./modules/programs/readline

View file

@ -0,0 +1,6 @@
{
files-executable = ./executable.nix;
files-hidden-source = ./hidden-source.nix;
files-source-with-spaces = ./source-with-spaces.nix;
files-text = ./text.nix;
}

View file

@ -0,0 +1,5 @@
{
git-with-email = ./git-with-email.nix;
git-with-most-options = ./git.nix;
git-with-str-extra-config = ./git-with-str-extra-config.nix;
}

View file

@ -3,7 +3,7 @@
with lib; with lib;
{ {
imports = [ ../accounts/email-test-accounts.nix ]; imports = [ ../../accounts/email-test-accounts.nix ];
config = { config = {
programs.git = { programs.git = {