Fixed a whole bunch of resource warnings in the flask testsuite

This commit is contained in:
Armin Ronacher 2013-05-30 14:31:36 +01:00
parent 47572c5b40
commit eb622fb34f
3 changed files with 22 additions and 0 deletions

View file

@ -793,6 +793,7 @@ class BasicFunctionalityTestCase(FlaskTestCase):
with app.test_request_context():
self.assert_equal(flask.url_for('static', filename='index.html'),
'/static/index.html')
rv.close()
def test_none_response(self):
app = flask.Flask(__name__)