@pytest.fixture
def betamax_simple_body(request):
 request.cls.betamax_simple_body = {'match_requests_on': ['uri', 'method', 'body']}

@ pytest . fixture def betamax_simple_body ( request ) : request . cls . betamax_simple_body = { 'match_requests_on' : [ 'uri' , 'method' , 'body' ] }
return configuration to match cassette on uri .