summaryrefslogtreecommitdiffstats
path: root/nixos/tests/ihatemoney.nix
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2020-06-25 12:00:00 +0000
committerSymphorien Gibol <symphorien+git@xlumurb.eu>2020-07-06 18:35:34 +0200
commit2e342f4c595e7544e618dc86c3f74d57bd3c190c (patch)
tree6f239fa4ee62cde4cd2ae9b397eb45132b59e997 /nixos/tests/ihatemoney.nix
parentbcafd845c67873f1c122d87c2d14a3ec6130ed2b (diff)
nixos/tests/ihatemoney: fix
Diffstat (limited to 'nixos/tests/ihatemoney.nix')
-rw-r--r--nixos/tests/ihatemoney.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/ihatemoney.nix b/nixos/tests/ihatemoney.nix
index a1160bbbbd54..0451a4505808 100644
--- a/nixos/tests/ihatemoney.nix
+++ b/nixos/tests/ihatemoney.nix
@@ -30,9 +30,10 @@ let
testScript = ''
machine.wait_for_open_port(8000)
machine.wait_for_unit("uwsgi.service")
+ machine.wait_until_succeeds("curl http://localhost:8000")
assert '"yay"' in machine.succeed(
- "curl -X POST http://localhost:8000/api/projects -d 'name=yay&id=yay&password=yay&contact_email=yay\@example.com'"
+ "curl -X POST http://localhost:8000/api/projects -d 'name=yay&id=yay&password=yay&contact_email=yay@example.com'"
)
owner, timestamp = machine.succeed(
"stat --printf %U:%G___%Y /var/lib/ihatemoney/secret_key"