From bf882dd8970dc6ce05827f3c90107a5285c2a943 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 13 Oct 2016 16:22:44 -0500 Subject: [PATCH] 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 --- keystoneauth1/fixture/keystoneauth_betamax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystoneauth1/fixture/keystoneauth_betamax.py b/keystoneauth1/fixture/keystoneauth_betamax.py index c47efb5e..f2c2b5c4 100644 --- a/keystoneauth1/fixture/keystoneauth_betamax.py +++ b/keystoneauth1/fixture/keystoneauth_betamax.py @@ -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'