anchor.diff:    };
   
     nodes = {
  -    simple2 = {
  +    simple = {
         services.deluge = {
           enable = true;
           package = pkgs.deluge-2_x;
  
positive.code:       };
      };
  
      declarative2 = {
        services.deluge = {
          enable = true;
          package = pkgs.deluge-2_x;
  
negative.code:   testScript = ''
      start_all()
  
      simple.wait_for_unit("deluged")
      simple.wait_for_unit("delugeweb")
      simple.wait_for_open_port("8112")
      declarative.wait_for_unit("network.target")
      declarative.wait_until_succeeds("curl --fail http://simple:8112")
  
      declarative.wait_for_unit("deluged")
      declarative.wait_for_unit("delugeweb")
      declarative.wait_until_succeeds("curl --fail http://declarative:3142")
      declarative.succeed(
          "deluge-console 'connect 127.0.0.1:58846 andrew password; help' | grep -q 'rm.*Remove a torrent'"
      )
    '';
  