forked from orbit-oss/flask
Use older descriptor to support older werkzeug versions
This commit is contained in:
parent
141a5533c9
commit
fb622380d0
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ class SendfileTestCase(FlaskTestCase):
|
||||||
with app.test_request_context():
|
with app.test_request_context():
|
||||||
rv = flask.send_from_directory('static', 'hello.txt')
|
rv = flask.send_from_directory('static', 'hello.txt')
|
||||||
rv.direct_passthrough = False
|
rv.direct_passthrough = False
|
||||||
self.assert_equal(rv.get_data().strip(), b'Hello Subdomain')
|
self.assert_equal(rv.data.strip(), b'Hello Subdomain')
|
||||||
rv.close()
|
rv.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue