mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
pythonPackages.flask_assets: fix tests
The changes in
e6178fe489
introduced in Flask 1.1.2 broke the tests of flask-assets.
This commit is contained in:
parent
6cfda0e92c
commit
e84a1c5c01
@ -11,6 +11,8 @@ buildPythonPackage rec {
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
|
||||
substituteInPlace tests/test_integration.py --replace "static_folder = '/'" "static_folder = '/x'"
|
||||
substituteInPlace tests/test_integration.py --replace "'/foo'" "'/x/foo'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ flask webassets flask_script nose ];
|
||||
|
Loading…
Reference in New Issue
Block a user