Updated documentation for being able to use init_db method
diff --git a/docs/testing.rst b/docs/testing.rst
index 0737936e3e..f4ee64ec82 100644
--- a/docs/testing.rst
+++ b/docs/testing.rst
@@ -33,7 +33,7 @@ In order to test the application, we add a second module
 (:file:`flaskr_tests.py`) and create a unittest skeleton there::
 
     import os
-    import flaskr
+    from flaskr import flaskr
     import unittest
     import tempfile
 
@@ -208,7 +208,7 @@ temporarily.  With this you can access the :class:`~flask.request`,
 functions.  Here is a full example that demonstrates this approach::
 
     import flask
-    
+
     app = flask.Flask(__name__)
 
     with app.test_request_context('/?name=Peter'):

minor change for being able to run tests within the tutorial.