From 0566abc28da9c997a9f7ac7b38066075a7a81cd8 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 18 Aug 2010 20:10:47 +0200 Subject: [PATCH] Fixed testing example --- docs/testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing.rst b/docs/testing.rst index 1a3a2960af..790eddf685 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -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()