nixosTests.mailpit: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-05 00:50:41 +02:00
parent 88186e0321
commit 6b63b4a2f5
No known key found for this signature in database
GPG Key ID: EC0DE1CB9D5258B4
2 changed files with 28 additions and 30 deletions

View File

@ -741,7 +741,7 @@ in
magnetico = handleTest ./magnetico.nix { };
mailcatcher = runTest ./mailcatcher.nix;
mailhog = handleTest ./mailhog.nix { };
mailpit = handleTest ./mailpit.nix { };
mailpit = runTest ./mailpit.nix;
mailman = handleTest ./mailman.nix { };
man = handleTest ./man.nix { };
mariadb-galera = handleTest ./mysql/mariadb-galera.nix { };

View File

@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ lib, ... }:
{
name = "mailpit";
@ -32,4 +31,3 @@ import ./make-test-python.nix (
assert "this is the body of the email" in message['Snippet']
'';
}
)