summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2018-09-23 01:02:51 -0700
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-23 10:02:51 +0200
commite141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b (patch)
tree6c03d9f3f9076a8e262f655329abab8443afbf95 /pkgs/development/python-modules
parent3d6fbe8ee3ddcf000d9357c4d5fdd6e7a37d3fad (diff)
downloadnixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.tar
nixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.tar.gz
nixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.tar.bz2
nixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.tar.lz
nixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.tar.xz
nixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.tar.zst
nixpkgs-e141f7cd2fdd4d81dd4fd6717c9a0172f20c2c2b.zip
pythonPackages.flask_assets: fix tests (#47203)
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/flask-assets/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flask-assets/default.nix b/pkgs/development/python-modules/flask-assets/default.nix
index 7f3b6367b6e..a8e454f4a2c 100644
--- a/pkgs/development/python-modules/flask-assets/default.nix
+++ b/pkgs/development/python-modules/flask-assets/default.nix
@@ -9,6 +9,10 @@ buildPythonPackage rec {
     sha256 = "0ivqsihk994rxw58vdgzrx4d77d7lpzjm4qxb38hjdgvi5xm4cb0";
   };
 
+  patchPhase = ''
+    substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
+  '';
+
   propagatedBuildInputs = [ flask webassets flask_script nose ];
 
   meta = with lib; {