radicale: Also run NixOS test on Python 3

This commit is contained in:
Aneesh Agrawal 2017-02-11 15:28:38 -05:00
parent 9821f82d7c
commit a3143b18e0

View File

@ -58,10 +58,19 @@ in import ./make-test.nix {
radicaleOverlay
];
};
py3 = { config, pkgs, ... }@args: (common args) // {
nixpkgs.overlays = [
(self: super: {
python = self.python3;
pythonPackages = self.python3.pkgs;
})
radicaleOverlay
];
};
};
testScript = ''
for my $machine ($py2) {
for my $machine ($py2, $py3) {
$machine->waitForUnit('radicale.service');
$machine->waitForOpenPort(${builtins.toString port});
$machine->succeed('curl -s http://someuser:really_secret_password@127.0.0.1:${builtins.toString port}/someuser/calendar.ics/');