nixosTests.isso: fix failing test

The test failed because the python variable port wasn't defined. We
insert the nix variable port with string interpolation instead.
This commit is contained in:
kilianar 2022-08-04 22:58:38 +02:00
parent cf63df0364
commit 1339f1e02b

View file

@ -22,7 +22,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
''
machine.wait_for_unit("isso.service")
machine.wait_for_open_port(port)
machine.wait_for_open_port(${toString port})
machine.succeed("curl --fail http://localhost:${toString port}/?uri")
machine.succeed("curl --fail http://localhost:${toString port}/js/embed.min.js")