devpi-server: fix tests

This commit is contained in:
Jonathan Ringer 2019-12-23 09:19:00 -08:00 committed by Frederik Rietdijk
parent 3b27da9f38
commit 4e8b34cc5e

View File

@ -33,8 +33,11 @@ python3Packages.buildPythonApplication rec {
] ++ stdenv.lib.optionals isPy27 [ mock ];
# test_genconfig.py needs devpi-server on PATH
# root_passwd_hash tries to write to store
checkPhase = ''
PATH=$PATH:$out/bin pytest ./test_devpi_server --slow -rfsxX
PATH=$PATH:$out/bin HOME=$TMPDIR pytest \
./test_devpi_server --slow -rfsxX \
-k 'not root_passwd_hash_option'
'';
meta = with stdenv.lib;{