Default serialize_with to json

None is not a valid value to pass to serialize_with for betamax. The
default value in the betamax library is 'json' - so just use that.

Change-Id: I714b02e568121ead5c81ab72bb0df27d8fc17337
This commit is contained in:
Monty Taylor 2016-10-13 16:22:44 -05:00
parent 22d1c9a81e
commit bf882dd897
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def _construct_session_with_betamax(fixture, session_obj=None):
session_obj, cassette_library_dir=fixture.cassette_library_dir)
record = 'none'
serializer = None
serializer = 'json'
if fixture.record:
record = 'all'