summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-04-14 08:14:23 +0100
committerGitHub <noreply@github.com>2018-04-14 08:14:23 +0100
commit958aa810ffe25ec0a3815d93a71e7fad0c28fe26 (patch)
tree6f52ccda60df9a3fff6ddbf2c790971031b6bcc1 /pkgs/applications
parent4cfdcedb71b7634db284bc18761a56e1ada58ce8 (diff)
parent43c10a76984f36b4e58c1540bd89aa83590c27e6 (diff)
downloadnixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.tar
nixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.tar.gz
nixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.tar.bz2
nixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.tar.lz
nixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.tar.xz
nixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.tar.zst
nixlib-958aa810ffe25ec0a3815d93a71e7fad0c28fe26.zip
Merge pull request #38921 from Moredread/tests/dosage
dosage: Fix tests
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/graphics/dosage/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/dosage/default.nix b/pkgs/applications/graphics/dosage/default.nix
index 48302d6bcb9c..f95370e39e72 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/;