Merge branch '0.10-maintenance'
This commit is contained in:
commit
5b0545bf80
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ class SendfileTestCase(FlaskTestCase):
|
|||
with app.test_request_context():
|
||||
rv = flask.send_from_directory('static', 'hello.txt')
|
||||
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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue