Skip to content
Myr

Fixed testing example

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

authored by Armin Ronacher · committed by Armin Ronacher · parent a3f78af · 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
41 unmodified lines
4243 class FlaskrTestCase(unittest.TestCase):4445 def setUp(self):46 self.db_fd, self.app.config['DATABASE'] = tempfile.mkstemp()46 self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()47 self.app = flaskr.app.test_client()48 flaskr.init_db()4950 def tearDown(self):
194 unmodified lines