nixos/tests/matrix-appservice-irc: modernize
This commit is contained in:
parent
d3df411913
commit
de396087e9
@ -570,7 +570,7 @@ in {
|
|||||||
mate-wayland = handleTest ./mate-wayland.nix {};
|
mate-wayland = handleTest ./mate-wayland.nix {};
|
||||||
matter-server = handleTest ./matter-server.nix {};
|
matter-server = handleTest ./matter-server.nix {};
|
||||||
matomo = handleTest ./matomo.nix {};
|
matomo = handleTest ./matomo.nix {};
|
||||||
matrix-appservice-irc = handleTest ./matrix/appservice-irc.nix {};
|
matrix-appservice-irc = runTest ./matrix/appservice-irc.nix;
|
||||||
matrix-conduit = handleTest ./matrix/conduit.nix {};
|
matrix-conduit = handleTest ./matrix/conduit.nix {};
|
||||||
matrix-synapse = handleTest ./matrix/synapse.nix {};
|
matrix-synapse = handleTest ./matrix/synapse.nix {};
|
||||||
matrix-synapse-workers = handleTest ./matrix/synapse-workers.nix {};
|
matrix-synapse-workers = handleTest ./matrix/synapse-workers.nix {};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import ../make-test-python.nix ({ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
homeserverUrl = "http://homeserver:8008";
|
homeserverUrl = "http://homeserver:8008";
|
||||||
in
|
in
|
||||||
@ -9,7 +9,7 @@ import ../make-test-python.nix ({ pkgs, ... }:
|
|||||||
};
|
};
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
homeserver = { pkgs, ... }: {
|
homeserver = {
|
||||||
# We'll switch to this once the config is copied into place
|
# We'll switch to this once the config is copied into place
|
||||||
specialisation.running.configuration = {
|
specialisation.running.configuration = {
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
@ -46,7 +46,7 @@ import ../make-test-python.nix ({ pkgs, ... }:
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ircd = { pkgs, ... }: {
|
ircd = {
|
||||||
services.ngircd = {
|
services.ngircd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = ''
|
config = ''
|
||||||
@ -227,4 +227,4 @@ import ../make-test-python.nix ({ pkgs, ... }:
|
|||||||
with subtest("ensure messages can be exchanged"):
|
with subtest("ensure messages can be exchanged"):
|
||||||
client.succeed("do_test ${homeserverUrl} >&2")
|
client.succeed("do_test ${homeserverUrl} >&2")
|
||||||
'';
|
'';
|
||||||
})
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user