Skip to content
Myr

Fix broken test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Adrian Moennich · committed by Adrian Moennich · parent eb1c2fa · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • tests:+4 added−0 removed

1 file+4 added−0 removed

modified:tests/test_helpers.py+4 added
569 unmodified lines
570 def test_send_file_range_request_xsendfile_invalid(self, app, client):571 # https://github.com/pallets/flask/issues/2526572 app.use_x_sendfile = True573574 @app.route('/')575 def index():576 return flask.send_file('static/index.html', conditional=True)577578 rv = client.get('/', headers={'Range': 'bytes=1000-'})579 assert rv.status_code == 416580 rv.close()581
332 unmodified lines