aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-01-30 16:46:22 +0100
committerMaximilian Hils <git@maximilianhils.com>2017-01-30 16:46:22 +0100
commit4746ce939fbbf08a37c3d6ea458b1bd37af866fb (patch)
tree939790f63da3bda67a258c1f3cf60251e53b414a /README.rst
parent3fe2f9578a19729196d5d775923beb597c8be032 (diff)
downloadmitmproxy-4746ce939fbbf08a37c3d6ea458b1bd37af866fb.tar.gz
mitmproxy-4746ce939fbbf08a37c3d6ea458b1bd37af866fb.tar.bz2
mitmproxy-4746ce939fbbf08a37c3d6ea458b1bd37af866fb.zip
README: py.test -> pytest
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index a8f02bee..ba87419e 100644
--- a/README.rst
+++ b/README.rst
@@ -95,14 +95,14 @@ requirements installed, and you can run the full test suite (including tests for
tox
-For speedier testing, we recommend you run `py.test`_ directly on individual test files or folders:
+For speedier testing, we recommend you run `pytest`_ directly on individual test files or folders:
.. code-block:: text
cd test/mitmproxy/addons
- py.test --cov mitmproxy.addons.anticache --looponfail test_anticache.py
+ pytest --cov mitmproxy.addons.anticache --looponfail test_anticache.py
-As py.test does not check the code style, you probably want to run ``tox -e lint`` before committing your changes.
+As pytest does not check the code style, you probably want to run ``tox -e lint`` before committing your changes.
Please ensure that all patches are accompanied by matching changes in the test
suite. The project tries to maintain 100% test coverage and enforces this strictly for some parts of the codebase.
@@ -179,7 +179,7 @@ with the following command:
.. _`advanced installation`: http://docs.mitmproxy.org/en/latest/install.html#advanced-installation
.. _virtualenv: https://virtualenv.pypa.io/
-.. _`py.test`: http://pytest.org/
+.. _`pytest`: http://pytest.org/
.. _tox: https://tox.readthedocs.io/
.. _Sphinx: http://sphinx-doc.org/
.. _sphinx-autobuild: https://pypi.python.org/pypi/sphinx-autobuild