From a3143b18e00f18a7fff1cb6181d4feaeffd24142 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Sat, 11 Feb 2017 15:28:38 -0500 Subject: radicale: Also run NixOS test on Python 3 --- nixos/tests/radicale.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'nixos/tests') diff --git a/nixos/tests/radicale.nix b/nixos/tests/radicale.nix index ea834d2768d2..f0d46d48a752 100644 --- a/nixos/tests/radicale.nix +++ b/nixos/tests/radicale.nix @@ -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/'); -- cgit 1.4.1