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:
parent
22d1c9a81e
commit
bf882dd897
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue