nixosTests.invoiceplane: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-30 20:28:38 +02:00
parent 85af9bd36d
commit 3c1d5bb96b
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 102 additions and 104 deletions

View file

@ -578,7 +578,7 @@ in {
installer = handleTest ./installer.nix {}; installer = handleTest ./installer.nix {};
installer-systemd-stage-1 = handleTest ./installer-systemd-stage-1.nix {}; installer-systemd-stage-1 = handleTest ./installer-systemd-stage-1.nix {};
intune = handleTest ./intune.nix {}; intune = handleTest ./intune.nix {};
invoiceplane = handleTest ./invoiceplane.nix {}; invoiceplane = runTest ./invoiceplane.nix;
iodine = handleTest ./iodine.nix {}; iodine = handleTest ./iodine.nix {};
ipv6 = handleTest ./ipv6.nix {}; ipv6 = handleTest ./ipv6.nix {};
iscsi-multipath-root = handleTest ./iscsi-multipath-root.nix {}; iscsi-multipath-root = handleTest ./iscsi-multipath-root.nix {};

View file

@ -1,7 +1,6 @@
import ./make-test-python.nix ( { pkgs, ... }:
{ pkgs, ... }:
{ {
name = "invoiceplane"; name = "invoiceplane";
meta = with pkgs.lib.maintainers; { meta = with pkgs.lib.maintainers; {
maintainers = [ maintainers = [
@ -114,5 +113,4 @@ import ./make-test-python.nix (
f"curl -sSfl --cookie cjar --cookie-jar cjar -d '_ip_csrf={csrf_token}&btn_continue=Continue' {site_name}/setup/upgrade_tables" f"curl -sSfl --cookie cjar --cookie-jar cjar -d '_ip_csrf={csrf_token}&btn_continue=Continue' {site_name}/setup/upgrade_tables"
) )
''; '';
} }
)