nixosTests.nzbget: fix deprecation warning

This commit is contained in:
figsoda 2023-05-13 20:05:06 -04:00
parent d300f60bea
commit 7064ad5a6e

View file

@ -35,7 +35,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
"${pkgs.nzbget}/bin/nzbget -n -o Control_iP=127.0.0.1 -o Control_port=6789 -o Control_password=tegbzn6789 -V" "${pkgs.nzbget}/bin/nzbget -n -o Control_iP=127.0.0.1 -o Control_port=6789 -o Control_password=tegbzn6789 -V"
) )
config = server.succeed("${nodes.server.config.systemd.services.nzbget.serviceConfig.ExecStart} --printconfig") config = server.succeed("${nodes.server.systemd.services.nzbget.serviceConfig.ExecStart} --printconfig")
# confirm the test settings are applied # confirm the test settings are applied
assert 'MainDir = "/var/lib/nzbget"' in config assert 'MainDir = "/var/lib/nzbget"' in config