Browse Source

Merge branch '0.10-maintenance'

pull/977/head
Armin Ronacher 11 years ago
parent
commit
5b0545bf80
  1. 2
      flask/testsuite/helpers.py

2
flask/testsuite/helpers.py

@ -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…
Cancel
Save