Skip to content

Commit

Permalink
python.pkgs.odfpy: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jan 1, 2018
1 parent d5a226f commit e92a133
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/development/python-modules/odfpy/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
}:

buildPythonPackage rec {
Expand All @@ -14,11 +15,7 @@ buildPythonPackage rec {
};

checkPhase = ''
pushd tests
rm runtests
for file in test*.py; do
python $file
done
${python.interpreter} -m unittest discover -s tests
'';

meta = {
Expand Down

0 comments on commit e92a133

Please sign in to comment.