1 import ./make-test-python.nix (
5 meta.maintainers = with lib.maintainers; [ joachifm ];
15 networking.firewall.enable = false;
16 networking.useDHCP = false;
18 environment.systemPackages = [ pkgs.netcat ];
19 services.tor.enable = true;
20 services.tor.client.enable = true;
21 services.tor.settings.ControlPort = 9051;
25 client.wait_for_unit("tor.service")
26 client.wait_for_open_port(9051)
27 assert "514 Authentication required." in client.succeed(
28 "echo GETINFO version | nc 127.0.0.1 9051"