diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-09 14:46:41 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-09 14:46:41 -0700 |
| commit | e35dcbcd9388d79f3850e9ff8faf76ba14467a10 (patch) | |
| tree | 5d1d6564893b4ae83037e6cd5c4b0458edadc373 /docs/tutorials/wiki2/tests.rst | |
| parent | 8d2c909e98fd7aeae91cebdc9d0a578830f0bc21 (diff) | |
| download | pyramid-e35dcbcd9388d79f3850e9ff8faf76ba14467a10.tar.gz pyramid-e35dcbcd9388d79f3850e9ff8faf76ba14467a10.tar.bz2 pyramid-e35dcbcd9388d79f3850e9ff8faf76ba14467a10.zip | |
- update wiki2/tests step
Diffstat (limited to 'docs/tutorials/wiki2/tests.rst')
| -rw-r--r-- | docs/tutorials/wiki2/tests.rst | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst index 111da0f7a..97508168e 100644 --- a/docs/tutorials/wiki2/tests.rst +++ b/docs/tutorials/wiki2/tests.rst @@ -77,30 +77,26 @@ follows: Running the tests ================= -We can run these tests by using ``setup.py test`` in the same way we did in -:ref:`running_tests`: +We can run these tests similarly to how we did in :ref:`running_tests`: On UNIX: .. code-block:: bash - $ $VENV/bin/python setup.py test -q + $ $VENV/bin/py.test -q On Windows: .. code-block:: ps1con - c:\pyramidtut\tutorial> %VENV%\Scripts\python setup.py test -q + c:\pyramidtut\tutorial> %VENV%\Scripts\py.test -q The expected result should look like the following: .. code-block:: text - ..................... - ---------------------------------------------------------------------- - Ran 22 tests in 5.320s - - OK + ...................... + 22 passed, 1 pytest-warnings in 5.81 seconds .. note:: If you use Python 3 during this tutorial, you will see deprecation warnings in the output, which we will choose to ignore. In making this |
