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:
Matías Lang 2020-08-09 17:35:03 -03:00 committed by Jon
parent 6cfda0e92c
commit e84a1c5c01

View file

@ -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 ];