From b09d3724a0dcf42fa49a47f001ffe20e39ea6d8c Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 23 Sep 2015 19:15:44 -0300 Subject: [PATCH] Add docs on how to disable cache provider --- doc/en/cache.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/en/cache.rst b/doc/en/cache.rst index 1682e7c43..bf923cc6f 100644 --- a/doc/en/cache.rst +++ b/doc/en/cache.rst @@ -10,6 +10,16 @@ cache: working with cross-testrun state is compatible regarding command line options and API usage except that you can only store/receive data between test runs that is json-serializable. + If for any reason you want to disable this plugin, you can do so by + adding ``-p no:cacheprovider`` to the command-line, or more permanently + to your ``pytest.ini`` file: + + .. code-block:: ini + + [pytest] + addopts = -p no:cacheprovider + + Usage ---------