Skip to content

Commit

Permalink
Merge pull request #85 from kragniz/docs
Browse files Browse the repository at this point in the history
Add documentation about serialize_with option
  • Loading branch information
sigmavirus24 committed Dec 22, 2015
2 parents 959c92d + 73c3855 commit a3e5583
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/configuring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,17 @@ variables, e.g.,
This means that you can run these tests on a service like Travis-CI without
providing credentials.

Setting default serializer
``````````````````````````

If you want to use a specific serializer for every cassette, you can set
``serialize_with`` as a default cassette option. For example, if you wanted to
use the ``prettyjson`` serializer for every cassette you would do:

.. code-block:: python
config.default_cassette_options['serialize_with'] = 'prettyjson'
Per-Use Configuration
---------------------

Expand Down

0 comments on commit a3e5583

Please sign in to comment.