diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-10-26 17:51:50 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-27 16:26:57 +0100 |
commit | 7a7bc3ef517bafa1f4965979d0d577c22b364d7c (patch) | |
tree | b60fc876363389f7066dea8bbc8e8357d58c7626 /pkgs/development/python-modules/fs | |
parent | 27654139b5eae86596f838203721adbc172435f3 (diff) |
pythonPackages.fs: fix tests
Diffstat (limited to 'pkgs/development/python-modules/fs')
-rw-r--r-- | pkgs/development/python-modules/fs/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/fs/default.nix b/pkgs/development/python-modules/fs/default.nix index 8cb35c23bb59b..fee20021e1a43 100644 --- a/pkgs/development/python-modules/fs/default.nix +++ b/pkgs/development/python-modules/fs/default.nix @@ -15,6 +15,7 @@ , mock , pythonAtLeast , isPy3k +, pytest }: buildPythonPackage rec { @@ -27,7 +28,7 @@ buildPythonPackage rec { }; buildInputs = [ glibcLocales ]; - checkInputs = [ nose pyftpdlib mock psutil ]; + checkInputs = [ nose pyftpdlib mock psutil pytest ]; propagatedBuildInputs = [ six appdirs pytz ] ++ lib.optionals (!isPy3k) [ backports_os ] ++ lib.optionals (!pythonAtLeast "3.6") [ typing ] @@ -37,7 +38,7 @@ buildPythonPackage rec { LC_ALL="en_US.utf-8"; checkPhase = '' - HOME=$(mktemp -d) nosetests tests [] + HOME=$(mktemp -d) pytest -k 'not user_data_repr' --ignore=tests/test_opener.py ''; meta = with lib; { |