Skip to content
Myr

Fixed a refacotring error in the docs. This fixes #100

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 c900256 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/testing.rst+2 added-2 removed
41 unmodified lines
4243 class FlaskrTestCase(unittest.TestCase):4445 def setUp(self):46 self.db_fd, flaskr.DATABASE = tempfile.mkstemp()46 self.db_fd, self.app.config['DATABASE'] = tempfile.mkstemp()47 self.app = flaskr.app.test_client()48 flaskr.init_db()4950 def tearDown(self):51 os.close(self.db_fd)52 os.unlink(flaskr.DATABASE)52 os.unlink(flaskr.app.config['DATABASE'])5354 if __name__ == '__main__':55 unittest.main()56
188 unmodified lines