about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cherrypy
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-25 11:28:14 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-25 11:35:25 +0100
commit8dccb0651600ed1780dd2b071065dbff9ed7de40 (patch)
tree231ae21ccb1a53f3551bbe2a30f339dddc404873 /pkgs/development/python-modules/cherrypy
parent84f1d93c00ed8b6634398fdae45a717ea1070a1a (diff)
python.pkgs.cherrypy: skip test that fails intermittently
See https://github.com/cherrypy/cherrypy/issues/1306 for the
upstream discussion.
Diffstat (limited to 'pkgs/development/python-modules/cherrypy')
-rw-r--r--pkgs/development/python-modules/cherrypy/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix
index 2f4ec42c7f81b..4a860c5510cad 100644
--- a/pkgs/development/python-modules/cherrypy/default.nix
+++ b/pkgs/development/python-modules/cherrypy/default.nix
@@ -41,7 +41,10 @@ in buildPythonPackage rec {
 
   checkPhase = ''
     # 3 out of 5 SignalHandlingTests need network access
-    LANG=en_US.UTF-8 pytest -k "not SignalHandlingTests and not test_4_Autoreload"
+    # test_2_File_Concurrency also fails upstream: https://github.com/cherrypy/cherrypy/issues/1306
+    # ...and skipping it makes 2 other tests fail
+    LANG=en_US.UTF-8 pytest -k "not SignalHandlingTests and not test_4_Autoreload \
+                            and not test_2_File_Concurrency and not test_3_Redirect and not test_4_File_deletion"
   '';
 
   meta = with lib; {