Skip to content
Myr

Merge pull request #676 from lambdadi/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Database improperly closed in the test case within this tutorial

authored by Armin Ronacher · committed by Armin Ronacher · parents 335e0af, a754d28 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/testing.rst+1 added-1 removed
100 unmodified lines
101 flaskr.init_db()102103 def tearDown(self):104 os.close(self.db_fd)105 os.unlink(flaskr.DATABASE)105 os.unlink(flaskr.app.config['DATABASE'])106107 def test_empty_db(self):108 rv = self.app.get('/')109 assert 'No entries here so far' in rv.data
194 unmodified lines