Merge pull request #676 from lambdadi/master

Database improperly closed in the test case within this tutorial
This commit is contained in:
Armin Ronacher 2013-05-14 03:49:50 -07:00
commit 7265bb7fa0

View file

@ -102,7 +102,7 @@ test method to our class, like this::
def tearDown(self):
os.close(self.db_fd)
os.unlink(flaskr.DATABASE)
os.unlink(flaskr.app.config['DATABASE'])
def test_empty_db(self):
rv = self.app.get('/')