From 6cb771f588e0ca5888595c2d45be46ed6ddb8c49 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Thu, 3 Mar 2016 19:56:45 -0800 Subject: [PATCH] Update README.rst --- README.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index ac6a052..97ef293 100644 --- a/README.rst +++ b/README.rst @@ -156,28 +156,26 @@ How do I run the repository code directly? $ python3 -m rtv How do I run the tests? - This project uses `pytest `_ and `VCR.py ` - to facilitate testing. The pip release for VCR.py is out of date, so you must - install directly from git. + This project uses `pytest `_ and `VCR.py `_ + to facilitate testing. .. code-block:: bash $ pip3 install pytest + # The pip release for VCR.py is out-of-date $ pip3 install git+https://github.com/kevin1024/vcrpy.git - Then set PYTHONPATH to the root of the project and unlease pytest! - .. code-block:: bash $ cd ~/rtv_project $ # Run the full suite $ PYTHONPATH=. py.test - $ # Or run a single test + $ # or run a single test $ PYTHONPATH=. py.test tests/test_config.py::test_copy_default_config VCR.py will record HTTP requests made during the test run and store - them in *tests/cassettes/*. By default these cassettes are read-only. - In order to record new cassettes you must provide your own refresh token. + them in *tests/cassettes/*. By default these cassettes are read-only, + if you would like to record new cassettes you must provide your own refresh token. .. code-block:: bash