Skip to content

Commit

Permalink
Fixed testing example
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Aug 18, 2010
1 parent a3f78af commit 0566abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing.rst
Expand Up @@ -43,7 +43,7 @@ In order to test that, we add a second module (
class FlaskrTestCase(unittest.TestCase):

def setUp(self):
self.db_fd, self.app.config['DATABASE'] = tempfile.mkstemp()
self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()
self.app = flaskr.app.test_client()
flaskr.init_db()

Expand Down

0 comments on commit 0566abc

Please sign in to comment.