about summary refs log tree commit diff
path: root/nixos/tests/pgadmin4.nix
diff options
context:
space:
mode:
authorFlorian Brandes <florian.brandes@posteo.de>2024-01-13 09:43:02 +0100
committerFlorian Brandes <florian.brandes@posteo.de>2024-01-16 15:55:16 +0100
commit03649bfdf23866ecfdf373d259615a60adfd0239 (patch)
tree155ad61244b2bc4be9b0ca8f382ee7b8b634b954 /nixos/tests/pgadmin4.nix
parentc2eb9919f7d87909f64786528a0f1e4ac3463da7 (diff)
python3Packages.flask-security-too: fix for webauth 2
also removes pydantic (since webauth 2 doesn't use it anymore)

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'nixos/tests/pgadmin4.nix')
-rw-r--r--nixos/tests/pgadmin4.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/pgadmin4.nix b/nixos/tests/pgadmin4.nix
index bde9afbe6cd94..b726a3eb3b946 100644
--- a/nixos/tests/pgadmin4.nix
+++ b/nixos/tests/pgadmin4.nix
@@ -56,8 +56,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
       # check for missing support files (css, js etc). Should catch not-generated files during build. See e.g. https://github.com/NixOS/nixpkgs/pull/229184
       machine.succeed("wget -nv --level=1 --spider --recursive localhost:5051/login")
       # test idempotenceny
-      machine.systemctl("stop pgadmin.service")
-      machine.systemctl("start pgadmin.service")
+      machine.systemctl("restart pgadmin.service")
       machine.wait_for_unit("pgadmin")
       machine.wait_until_succeeds("curl -sS localhost:5051")
       machine.wait_until_succeeds("curl -sS localhost:5051/login | grep \"<title>pgAdmin 4</title>\" > /dev/null")