mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/tests/matrix-appservice-irc: modernize
This commit is contained in:
parent
d3df411913
commit
de396087e9
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
import ../make-test-python.nix ({ pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
homeserverUrl = "http://homeserver:8008";
|
||||
in
|
||||
|
@ -9,7 +9,7 @@ import ../make-test-python.nix ({ pkgs, ... }:
|
|||
};
|
||||
|
||||
nodes = {
|
||||
homeserver = { pkgs, ... }: {
|
||||
homeserver = {
|
||||
# We'll switch to this once the config is copied into place
|
||||
specialisation.running.configuration = {
|
||||
services.matrix-synapse = {
|
||||
|
@ -46,7 +46,7 @@ import ../make-test-python.nix ({ pkgs, ... }:
|
|||
};
|
||||
};
|
||||
|
||||
ircd = { pkgs, ... }: {
|
||||
ircd = {
|
||||
services.ngircd = {
|
||||
enable = true;
|
||||
config = ''
|
||||
|
@ -227,4 +227,4 @@ import ../make-test-python.nix ({ pkgs, ... }:
|
|||
with subtest("ensure messages can be exchanged"):
|
||||
client.succeed("do_test ${homeserverUrl} >&2")
|
||||
'';
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue