Browse Source

Merge pull request #676 from lambdadi/master

Database improperly closed in the test case within this tutorial
pull/727/head
Armin Ronacher 12 years ago
parent
commit
7265bb7fa0
  1. 2
      docs/testing.rst

2
docs/testing.rst

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

Loading…
Cancel
Save