diff options
| author | Michael Merickel <github@m.merickel.org> | 2018-08-21 01:44:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-21 01:44:55 -0500 |
| commit | 820a752645b460ea8009b07a75c752ab09c53dec (patch) | |
| tree | 14616d81a7abedfe523c057e71ed7b2aca680754 /docs/quick_tutorial/functional_testing.rst | |
| parent | df8598a2658632f709a64e8076cce02ca49de8e6 (diff) | |
| parent | 254710cb716dccfe536b20d077e3cb79be19c6b3 (diff) | |
| download | pyramid-820a752645b460ea8009b07a75c752ab09c53dec.tar.gz pyramid-820a752645b460ea8009b07a75c752ab09c53dec.tar.bz2 pyramid-820a752645b460ea8009b07a75c752ab09c53dec.zip | |
Merge pull request #3330 from stevepiercy/docs-code-style
Docs code style
Diffstat (limited to 'docs/quick_tutorial/functional_testing.rst')
| -rw-r--r-- | docs/quick_tutorial/functional_testing.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/quick_tutorial/functional_testing.rst b/docs/quick_tutorial/functional_testing.rst index 518e3d67d..fa56b4589 100644 --- a/docs/quick_tutorial/functional_testing.rst +++ b/docs/quick_tutorial/functional_testing.rst @@ -36,15 +36,15 @@ Steps .. code-block:: bash - $ cd ..; cp -r unit_testing functional_testing; cd functional_testing - $ $VENV/bin/pip install -e . - $ $VENV/bin/pip install webtest + cd ..; cp -r unit_testing functional_testing; cd functional_testing + $VENV/bin/pip install -e . + $VENV/bin/pip install webtest #. Let's extend ``functional_testing/tutorial/tests.py`` to include a functional test: .. literalinclude:: functional_testing/tutorial/tests.py - :linenos: + :linenos: Be sure this file is not executable, or ``pytest`` may not include your tests. @@ -53,9 +53,9 @@ Steps .. code-block:: bash - $ $VENV/bin/py.test tutorial/tests.py -q - .. - 2 passed in 0.25 seconds + $VENV/bin/py.test tutorial/tests.py -q + .. + 2 passed in 0.25 seconds Analysis |
