Merge pull request #3349 from nathanmp/master

Update testing.rst
This commit is contained in:
David Lord 2019-09-02 09:05:05 -07:00 committed by GitHub
commit 12666af6b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,9 @@ First, we need an application to test; we will use the application from
the :ref:`tutorial`. If you don't have that application yet, get the
source code from :gh:`the examples <examples/tutorial>`.
So that we can import the module ``flaskr`` correctly, we need to run
``pip install -e .`` in the folder ``tutorial``.
The Testing Skeleton
--------------------
@ -46,7 +49,7 @@ the application for testing and initializes a new database::
import pytest
from flaskr import flaskr
from flaskr import create_app
@pytest.fixture