python3Packages.cherrypy: fix tests
This commit is contained in:
parent
cc3c55b0f9
commit
c20b6ffa20
|
@ -32,10 +32,13 @@ buildPythonPackage rec {
|
||||||
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
|
objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Keyboard interrupt ends test suite run
|
||||||
|
# daemonize and autoreload tests have issue with sockets within sandbox
|
||||||
# Disable doctest plugin because times out
|
# Disable doctest plugin because times out
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
substituteInPlace pytest.ini --replace "--doctest-modules" ""
|
substituteInPlace pytest.ini --replace "--doctest-modules" ""
|
||||||
pytest \
|
pytest \
|
||||||
|
-k 'not KeyboardInterrupt and not daemonize and not Autoreload' \
|
||||||
--deselect=cherrypy/test/test_static.py::StaticTest::test_null_bytes \
|
--deselect=cherrypy/test/test_static.py::StaticTest::test_null_bytes \
|
||||||
--deselect=cherrypy/test/test_tools.py::ToolTests::testCombinedTools \
|
--deselect=cherrypy/test/test_tools.py::ToolTests::testCombinedTools \
|
||||||
${stdenv.lib.optionalString stdenv.isDarwin
|
${stdenv.lib.optionalString stdenv.isDarwin
|
||||||
|
|
Loading…
Reference in a new issue