frompyramidimporttestingfrompyramid.configimportConfiguratordeftotal(request,*args):returnsum(args)defprop(request):print("getting the property")return"the property"config=Configurator()config.add_request_method(total)config.add_request_method(prop,reify=True)request=testing.DummyRequest()