anchor.diff:  import ./make-test-python.nix ({ pkgs, ... }:
     let
  -    homeserverUrl = "http://homeserver:8448";
  +    homeserverUrl = "http://homeserver:8008";
     in
     {
       name = "matrix-appservice-irc";
  
positive.code:           )
  
            homeserver.wait_for_unit("matrix-synapse.service")
            homeserver.wait_for_open_port(8448)
  
        with subtest("ensure messages can be exchanged"):
            client.succeed("do_test ${homeserverUrl} >&2")
  
negative.code:         specialisation.running.configuration = {
            services.matrix-synapse = {
              enable = true;
              settings = {
                database.name = "sqlite3";
                app_service_config_files = [ "/registration.yml" ];
  
                enable_registration = true;
  
                listeners = [ {
                  # The default but tls=false
                  bind_addresses = [
                    "0.0.0.0"
                  ];
                  port = 8008;
                  resources = [ {
                    "compress" = true;
                    "names" = [ "client" ];
                  } {
                    "compress" = false;
                    "names" = [ "federation" ];
                  } ];
                  tls = false;
                  type = "http";
                } ];
              };
            };
  
            networking.firewall.allowedTCPPorts = [ 8008 ];
          };
        };
  
  