From 43c10a76984f36b4e58c1540bd89aa83590c27e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9-Patrick=20Bubel?= Date: Fri, 13 Apr 2018 23:25:59 +0200 Subject: [PATCH] dosage: fix tests --- pkgs/applications/graphics/dosage/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/dosage/default.nix b/pkgs/applications/graphics/dosage/default.nix index 48302d6bcb9..f95370e39e7 100644 --- a/pkgs/applications/graphics/dosage/default.nix +++ b/pkgs/applications/graphics/dosage/default.nix @@ -12,11 +12,15 @@ pythonPackages.buildPythonApplication rec { rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591"; sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh"; }; - buildInputs = [ pythonPackages.pytest ]; + buildInputs = with pythonPackages; [ pytest responses ]; propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ]; disabled = pythonPackages.pythonOlder "3.3"; + checkPhase = '' + py.test tests/ + ''; + meta = { description = "A comic strip downloader and archiver"; homepage = http://dosage.rocks/;