devpi-server: fix tests
This commit is contained in:
parent
3b27da9f38
commit
4e8b34cc5e
@ -33,8 +33,11 @@ python3Packages.buildPythonApplication rec {
|
|||||||
] ++ stdenv.lib.optionals isPy27 [ mock ];
|
] ++ stdenv.lib.optionals isPy27 [ mock ];
|
||||||
|
|
||||||
# test_genconfig.py needs devpi-server on PATH
|
# test_genconfig.py needs devpi-server on PATH
|
||||||
|
# root_passwd_hash tries to write to store
|
||||||
checkPhase = ''
|
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;{
|
meta = with stdenv.lib;{
|
||||||
|
Loading…
Reference in New Issue
Block a user