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:
parent
cf63df0364
commit
1339f1e02b
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue