pythonPackages.flask_assets: fix tests
The changes in https://github.com/pallets/flask/pull/3456/commits/e6178fe489b7828acc2bb8fd4b56a70b11ab6c6a introduced in Flask 1.1.2 broke the tests of flask-assets.
This commit is contained in:
@@ -11,6 +11,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace tests/test_integration.py --replace 'static_path=' 'static_url_path='
|
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 ];
|
propagatedBuildInputs = [ flask webassets flask_script nose ];
|
||||||
|
|||||||
Reference in New Issue
Block a user