tests: add support for asserting warnings
This adds a "test.asserts" module that currently just provides a convenient way to assert on the content of warnings. By default all tests will assert that no warnings are given.
This commit is contained in:
parent
4dedfcfd95
commit
9d53afb709
7 changed files with 64 additions and 1 deletions
|
|
@ -8,7 +8,10 @@ with lib;
|
|||
config = {
|
||||
programs.lieer.enable = true;
|
||||
|
||||
accounts.email.accounts = { "hm@example.com".lieer.enable = true; };
|
||||
accounts.email.accounts."hm@example.com" = {
|
||||
lieer.enable = true;
|
||||
notmuch.enable = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: { gmailieer = pkgs.writeScriptBin "dummy-gmailieer" ""; })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue