From 4746ce939fbbf08a37c3d6ea458b1bd37af866fb Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 30 Jan 2017 16:46:22 +0100 Subject: README: py.test -> pytest --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.rst') 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 -- cgit v1.2.3